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_execute_API.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_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 40058180d2..45d585f596 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -30,6 +30,7 @@ #include "zend_constants.h" #include "zend_extensions.h" #include "zend_exceptions.h" +#include "zend_vm.h" #ifdef HAVE_SYS_TIME_H #include <sys/time.h> #endif @@ -1075,7 +1076,7 @@ void execute_new_code(TSRMLS_D) opline->op2.u.constant.is_ref = 1; opline->op2.u.constant.refcount = 2; } - opline->handler = zend_opcode_handlers[opline->opcode]; + ZEND_VM_SET_OPCODE_HANDLER(opline); opline++; } |