Skip to content

Commit 265d605

Browse files
committed
Fixed inconsistency between IR code-generation and register-allocation
1 parent bf11352 commit 265d605

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/opcache/jit/zend_jit_trace.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4983,9 +4983,11 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
49834983
CHECK_OP1_TRACE_TYPE();
49844984
op2_info = OP2_INFO();
49854985
CHECK_OP2_TRACE_TYPE();
4986+
#ifndef ZEND_JIT_IR
49864987
if ((op1_info & MAY_BE_UNDEF) || (op2_info & MAY_BE_UNDEF)) {
49874988
break;
49884989
}
4990+
#endif
49894991
if (!(op1_info & MAY_BE_LONG)
49904992
|| !(op2_info & MAY_BE_LONG)) {
49914993
break;

0 commit comments

Comments
 (0)