Skip to content

Commit 8e543da

Browse files
committed
Don't JIT trace record prop info with hooks
1 parent 792e541 commit 8e543da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_vm_helpers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ zend_jit_trace_stop ZEND_FASTCALL zend_jit_trace_execute(zend_execute_data *ex,
863863
prop_info = zend_get_property_info(Z_OBJCE_P(obj), prop_name, 1);
864864
if (prop_info
865865
&& prop_info != ZEND_WRONG_PROPERTY_INFO
866-
&& !(prop_info->flags & ZEND_ACC_VIRTUAL)
866+
&& !prop_info->hooks
867867
&& !(prop_info->flags & ZEND_ACC_STATIC)) {
868868
val = OBJ_PROP(Z_OBJ_P(obj), prop_info->offset);
869869
TRACE_RECORD_VM(ZEND_JIT_TRACE_VAL_INFO, NULL, Z_TYPE_P(val), 0, 0);

0 commit comments

Comments
 (0)