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