diff options
| author | Dmitry Stogov <dmitry@zend.com> | 2019-04-12 01:01:47 +0300 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@zend.com> | 2019-04-12 01:01:47 +0300 |
| commit | 39505764adbf1b46656ea2a5c8337e667356ae4b (patch) | |
| tree | 2d68b6f70611ee94e13d0f3e0d8f8edc38104cbe /Zend/zend_compile.c | |
| parent | 7604f295cae6c092fc55d17f7acdd108b8d532d1 (diff) | |
| parent | 88a2268d6b9ff152399a8761dc826ce414c0b985 (diff) | |
| download | php-git-39505764adbf1b46656ea2a5c8337e667356ae4b.tar.gz | |
Merge branch 'PHP-7.4'
* PHP-7.4:
Replace "ZEND_CALL_CTOR" hack by additional live-range
Diffstat (limited to 'Zend/zend_compile.c')
| -rw-r--r-- | Zend/zend_compile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 0b9a50cdb1..83bd649bb9 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -3043,7 +3043,6 @@ void zend_compile_call_common(znode *result, zend_ast *args_ast, zend_function * zend_op *opline; uint32_t opnum_init = get_next_op_number() - 1; uint32_t arg_count; - uint32_t call_flags; arg_count = zend_compile_args(args_ast, fbc); @@ -3056,10 +3055,7 @@ void zend_compile_call_common(znode *result, zend_ast *args_ast, zend_function * opline->op1.num = zend_vm_calc_used_stack(arg_count, fbc); } - call_flags = (opline->opcode == ZEND_NEW ? ZEND_CALL_CTOR : 0); opline = zend_emit_op(result, zend_get_call_op(opline, fbc), NULL, NULL); - opline->op1.num = call_flags; - zend_do_extended_fcall_end(); } /* }}} */ |
