mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
Add exception check to zend_jit_fetch_obj_w_slow()
This ports 247105ae1a
to the JIT
implementation. The issue doesn't trigger on the original test
case with JIT, but I ran into a case that does trigger with JIT
once we have typed properties.
This commit is contained in:
parent
982c833acd
commit
6fd880890c
@ -1764,6 +1764,10 @@ static void ZEND_FASTCALL zend_jit_fetch_obj_w_slow(zend_object *zobj)
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (UNEXPECTED(EG(exception))) {
|
||||
ZVAL_ERROR(result);
|
||||
return;
|
||||
}
|
||||
} else if (UNEXPECTED(Z_ISERROR_P(retval))) {
|
||||
ZVAL_ERROR(result);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user