diff options
author | Nikita Popov <nikic@php.net> | 2015-12-30 23:49:07 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-12-30 23:49:07 +0100 |
commit | b3afeeabefc4777ec4797a7e2c3688e9e20be4cc (patch) | |
tree | 83ebded48ec013ff8c795f7a463cac2268428a75 | |
parent | 83c4417330c4bcb61ce1a9175ddad51c7353b5c9 (diff) | |
download | php-git-b3afeeabefc4777ec4797a7e2c3688e9e20be4cc.tar.gz |
Fix lineno for finally FAST_CALL and JMP
-rw-r--r-- | Zend/zend_compile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 9c07afe694..ef9f1941c3 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -4481,6 +4481,8 @@ void zend_compile_try(zend_ast *ast) /* {{{ */ /* Pop FAST_CALL from unwind stack */ zend_stack_del_top(&CG(loop_var_stack)); + CG(zend_lineno) = finally_ast->lineno; + opline = zend_emit_op(NULL, ZEND_FAST_CALL, NULL, NULL); opline->op1.num = try_catch_offset; opline->result_type = IS_TMP_VAR; |