@@ -4256,29 +4256,29 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
4256
4256
op2_addr = OP2_REG_ADDR ();
4257
4257
if (orig_op1_type != IS_UNKNOWN
4258
4258
&& (orig_op1_type & IS_TRACE_REFERENCE )
4259
+ && opline -> op1_type == IS_CV
4259
4260
&& (Z_MODE (op2_addr ) != IS_REG || Z_REG (op2_addr ) != ZREG_FCARG1 )
4260
4261
&& (orig_op2_type == IS_UNKNOWN || !(orig_op2_type & IS_TRACE_REFERENCE ))) {
4261
4262
if (!zend_jit_fetch_reference (& dasm_state , opline , orig_op1_type , & op1_info , & op1_addr ,
4262
4263
!ssa -> var_info [ssa_op -> op1_use ].guarded_reference , 1 )) {
4263
4264
goto jit_failure ;
4264
4265
}
4265
- if (opline -> op1_type == IS_CV
4266
- && ssa -> vars [ssa_op -> op1_use ].alias == NO_ALIAS ) {
4266
+ if (ssa -> vars [ssa_op -> op1_use ].alias == NO_ALIAS ) {
4267
4267
ssa -> var_info [ssa_op -> op1_use ].guarded_reference = 1 ;
4268
4268
}
4269
4269
} else {
4270
4270
CHECK_OP1_TRACE_TYPE ();
4271
4271
}
4272
4272
if (orig_op2_type != IS_UNKNOWN
4273
4273
&& (orig_op2_type & IS_TRACE_REFERENCE )
4274
+ && opline -> op2_type == IS_CV
4274
4275
&& (Z_MODE (op1_addr ) != IS_REG || Z_REG (op1_addr ) != ZREG_FCARG1 )
4275
4276
&& (orig_op1_type == IS_UNKNOWN || !(orig_op1_type & IS_TRACE_REFERENCE ))) {
4276
4277
if (!zend_jit_fetch_reference (& dasm_state , opline , orig_op2_type , & op2_info , & op2_addr ,
4277
4278
!ssa -> var_info [ssa_op -> op2_use ].guarded_reference , 1 )) {
4278
4279
goto jit_failure ;
4279
4280
}
4280
- if (opline -> op2_type == IS_CV
4281
- && ssa -> vars [ssa_op -> op2_use ].alias == NO_ALIAS ) {
4281
+ if (ssa -> vars [ssa_op -> op2_use ].alias == NO_ALIAS ) {
4282
4282
ssa -> var_info [ssa_op -> op2_use ].guarded_reference = 1 ;
4283
4283
}
4284
4284
} else {
0 commit comments