mirror of
https://github.com/php/php-src.git
synced 2025-01-12 22:14:41 +08:00
Don't initialize return value before calling user functions
This commit is contained in:
parent
f1767e23f4
commit
35ee6dc69f
@ -7474,8 +7474,6 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, zend_op_ar
|
||||
| mov aword EX:RX->call, 0
|
||||
|
||||
if (RETURN_VALUE_USED(opline)) {
|
||||
| // ZVAL_NULL(EX_VAR(opline->result.var));
|
||||
| SET_ZVAL_TYPE_INFO res_addr, IS_NULL
|
||||
| // EX(return_value) = EX_VAR(opline->result.var);
|
||||
| LOAD_ZVAL_ADDR r2, res_addr
|
||||
| mov aword EX:RX->return_value, r2
|
||||
|
Loading…
Reference in New Issue
Block a user