From: Dmitry Stogov Date: Thu, 18 Apr 2019 00:00:20 +0000 (+0300) Subject: Don't initialize return value before calling user functions X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35ee6dc69f2aebb0600374ecdc5a215be3513794;p=php Don't initialize return value before calling user functions --- diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index 72fdf17526..cab7793462 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -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