summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2020-10-05 22:33:18 +0300
committerDmitry Stogov <dmitry@zend.com>2020-10-05 22:33:18 +0300
commit90b80c82787f42b5ded3e313b93f55f865643cf6 (patch)
tree000682385a4a3e9a49ed910166aed2d95aadec00
parent9fe5479eeb2cb59889ceee6d8a9d71f7c1652032 (diff)
downloadphp-git-90b80c82787f42b5ded3e313b93f55f865643cf6.tar.gz
Fix trace range inference
-rw-r--r--ext/opcache/jit/zend_jit_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/jit/zend_jit_trace.c b/ext/opcache/jit/zend_jit_trace.c
index 0d691f8c2d..751e492a4f 100644
--- a/ext/opcache/jit/zend_jit_trace.c
+++ b/ext/opcache/jit/zend_jit_trace.c
@@ -3043,6 +3043,7 @@ static void zend_jit_trace_update_condition_ranges(const zend_op *opline, const
case ZEND_CASE:
case ZEND_IS_IDENTICAL:
case ZEND_CASE_STRICT:
+ case ZEND_IS_NOT_IDENTICAL:
if (!exit_if_true) {
/* op1 == op2 */
if (ssa_op->op1_use >= 0) {
@@ -3060,7 +3061,6 @@ static void zend_jit_trace_update_condition_ranges(const zend_op *opline, const
}
break;
case ZEND_IS_NOT_EQUAL:
- case ZEND_IS_NOT_IDENTICAL:
if (exit_if_true) {
/* op1 == op2 */
if (ssa_op->op1_use >= 0) {