From f82ed136259b8f12c1dbb29a3b2b8c398414ed1a Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Thu, 23 Sep 2004 21:43:32 +0000 Subject: - 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. --- Zend/zend_opcode.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Zend/zend_opcode.c') 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++; } -- cgit v1.2.1