diff options
author | Dmitry Stogov <dmitry@zend.com> | 2019-11-12 12:59:50 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2019-11-12 12:59:50 +0300 |
commit | 9083e178f656878cab46aee52b555346ef92a768 (patch) | |
tree | da41cb121a3ffb07f3cf360328383ec26acc17d8 | |
parent | ea2a125789d2e6cf7416bd706be1ac44df1367e4 (diff) | |
download | php-git-9083e178f656878cab46aee52b555346ef92a768.tar.gz |
Fixed wrong constant usage
-rw-r--r-- | ext/opcache/Optimizer/zend_ssa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/Optimizer/zend_ssa.c b/ext/opcache/Optimizer/zend_ssa.c index ce85f1483a..aa6ce0d7fd 100644 --- a/ext/opcache/Optimizer/zend_ssa.c +++ b/ext/opcache/Optimizer/zend_ssa.c @@ -457,7 +457,7 @@ static void place_essa_pis( if ((pi = add_pi(arena, op_array, dfg, ssa, j, bt, var))) { pi_type_mask(pi, mask_for_type_check(type)); } - if (type != IS_RESOURCE) { + if (type != MAY_BE_RESOURCE) { /* is_resource() may return false for closed resources */ if ((pi = add_pi(arena, op_array, dfg, ssa, j, bf, var))) { pi_not_type_mask(pi, mask_for_type_check(type)); |