Skip to content

Commit fa5e29f

Browse files
committed
Remove always-false if check
prop_info is NULL in this branch.
1 parent 00691f4 commit fa5e29f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ext/opcache/jit/zend_jit_ir.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13894,8 +13894,7 @@ static int zend_jit_fetch_obj(zend_jit_ctx *jit,
1389413894
jit_SET_EX_OPLINE(jit, opline);
1389513895

1389613896
if (opline->opcode != ZEND_FETCH_OBJ_IS) {
13897-
if (((res_info & MAY_BE_GUARD) && JIT_G(current_frame) && prop_info)
13898-
|| Z_MODE(res_addr) == IS_REG) {
13897+
if (Z_MODE(res_addr) == IS_REG) {
1389913898
ir_ref val_addr = ir_CALL_2(IR_ADDR, ir_CONST_FC_FUNC(zend_jit_fetch_obj_r_dynamic_ex),
1390013899
obj_ref, offset_ref);
1390113900
ir_END_PHI_list(end_values, val_addr);
@@ -13905,8 +13904,7 @@ static int zend_jit_fetch_obj(zend_jit_ctx *jit,
1390513904
ir_END_list(end_inputs);
1390613905
}
1390713906
} else {
13908-
if (((res_info & MAY_BE_GUARD) && JIT_G(current_frame) && prop_info)
13909-
|| Z_MODE(res_addr) == IS_REG) {
13907+
if (Z_MODE(res_addr) == IS_REG) {
1391013908
ir_ref val_addr = ir_CALL_2(IR_ADDR, ir_CONST_FC_FUNC(zend_jit_fetch_obj_is_dynamic_ex),
1391113909
obj_ref, offset_ref);
1391213910
ir_END_PHI_list(end_values, val_addr);

0 commit comments

Comments
 (0)