From f559c78000b8e9ae71cdd882f4b26980e4731445 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 18 Aug 2020 21:13:18 +0300 Subject: [PATCH] Check for exception after $this destruction --- ext/opcache/jit/zend_jit_x86.dasc | 2 ++ 1 file changed, 2 insertions(+) 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: } -- 2.50.1