Skip to content

Commit f559c78

Browse files
committed
Check for exception after $this destruction
1 parent f2d8488 commit f559c78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10101,6 +10101,8 @@ static int zend_jit_leave_func(dasm_State **Dst, const zend_op *opline, const ze
1010110101
| mov FCARG1a, EX->This.value.obj
1010210102
| // OBJ_RELEASE(object);
1010310103
| OBJ_RELEASE ZREG_FCARG1a, >4
10104+
// TODO: avoid EG(excption) check for $this->foo() calls
10105+
may_throw = 1;
1010410106
}
1010510107
|4:
1010610108
}

0 commit comments

Comments
 (0)