From ef1b588f6a39bcc2c0d5fad9f2094bb011aeaf0b Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 10 Jul 2015 04:44:21 +0300 Subject: Resolve GOTO at compile time and replace it with sequnce of FREE/FE_FREE and JMP. --- Zend/zend_compile.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Zend/zend_compile.h') diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 8e9cfe795b..a5e5ddece5 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -712,7 +712,7 @@ void zend_do_extended_fcall_end(void); void zend_verify_namespace(void); -void zend_resolve_goto_label(zend_op_array *op_array, zend_op *opline, int pass2); +void zend_resolve_goto_label(zend_op_array *op_array, znode *label_node, zend_op *pass2_opline); ZEND_API void function_add_ref(zend_function *function); @@ -953,7 +953,8 @@ static zend_always_inline int zend_check_arg_send_type(const zend_function *zf, #define ZEND_ARRAY_SIZE_SHIFT 2 /* Pseudo-opcodes that are used only temporarily during compilation */ -#define ZEND_BRK 254 +#define ZEND_GOTO 253 +#define ZEND_BRK 254 #define ZEND_CONT 255 -- cgit v1.2.1