diff options
author | Andi Gutmans <andi@php.net> | 2004-09-23 21:43:32 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2004-09-23 21:43:32 +0000 |
commit | f82ed136259b8f12c1dbb29a3b2b8c398414ed1a (patch) | |
tree | dc453af45ed4d9f10685fffccffcdeaf098ca608 /Zend/zend_opcode.c | |
parent | 1fc2b79172fb10030e499b0c40566dae1514a9d1 (diff) | |
download | php-git-f82ed136259b8f12c1dbb29a3b2b8c398414ed1a.tar.gz |
- Commit new VM architecture. This one allows people (aka Derick) to
- ask the engine to use function handler mode. Will update the README
- about that.
Diffstat (limited to 'Zend/zend_opcode.c')
-rw-r--r-- | Zend/zend_opcode.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c index e5c8faba95..0c47ceaa50 100644 --- a/Zend/zend_opcode.c +++ b/Zend/zend_opcode.c @@ -27,6 +27,8 @@ #include "zend_extensions.h" #include "zend_API.h" +#include "zend_vm.h" + static void zend_extension_op_array_ctor_handler(zend_extension *extension, zend_op_array *op_array TSRMLS_DC) { if (extension->op_array_ctor) { @@ -361,7 +363,7 @@ int pass_two(zend_op_array *op_array TSRMLS_DC) opline->op2.u.jmp_addr = &op_array->opcodes[opline->op2.u.opline_num]; break; } - opline->handler = zend_opcode_handlers[opline->opcode]; + ZEND_VM_SET_OPCODE_HANDLER(opline); opline++; } |