Skip to content

Commit 9083e17

Browse files
committed
Fixed wrong constant usage
1 parent ea2a125 commit 9083e17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/Optimizer/zend_ssa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ static void place_essa_pis(
457457
if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var))) {
458458
pi_type_mask(pi, mask_for_type_check(type));
459459
}
460-
if (type != IS_RESOURCE) {
460+
if (type != MAY_BE_RESOURCE) {
461461
/* is_resource() may return false for closed resources */
462462
if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var))) {
463463
pi_not_type_mask(pi, mask_for_type_check(type));

0 commit comments

Comments
 (0)