summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2004-09-23 21:43:32 +0000
committerAndi Gutmans <andi@php.net>2004-09-23 21:43:32 +0000
commitf82ed136259b8f12c1dbb29a3b2b8c398414ed1a (patch)
treedc453af45ed4d9f10685fffccffcdeaf098ca608 /Zend/zend_execute_API.c
parent1fc2b79172fb10030e499b0c40566dae1514a9d1 (diff)
downloadphp-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.c3
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++;
}