From 90b80c82787f42b5ded3e313b93f55f865643cf6 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 5 Oct 2020 22:33:18 +0300 Subject: [PATCH] Fix trace range inference --- ext/opcache/jit/zend_jit_trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/jit/zend_jit_trace.c b/ext/opcache/jit/zend_jit_trace.c index 0d691f8c2da..751e492a4ff 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) {