From: Dmitry Stogov Date: Tue, 18 Aug 2020 18:13:18 +0000 (+0300) Subject: Check for exception after $this destruction X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f559c78000b8e9ae71cdd882f4b26980e4731445;p=php Check for exception after $this destruction --- diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index cdae709b31..25cd3143fd 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -10101,6 +10101,8 @@ static int zend_jit_leave_func(dasm_State **Dst, const zend_op *opline, const ze | mov FCARG1a, EX->This.value.obj | // OBJ_RELEASE(object); | OBJ_RELEASE ZREG_FCARG1a, >4 + // TODO: avoid EG(excption) check for $this->foo() calls + may_throw = 1; } |4: }