summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2020-05-25 18:24:50 +0300
committerDmitry Stogov <dmitry@zend.com>2020-05-25 18:24:50 +0300
commitd60988257bb335dce16ff44722bd52ee49738d78 (patch)
tree7fcd78a7617eca654c6749e09d1f8f89a415a0fc
parent4aa8678306f055e1ee992190fc17816c91492dad (diff)
downloadphp-git-d60988257bb335dce16ff44722bd52ee49738d78.tar.gz
Fixed JIT for SEND_VAR $undefined_cv
-rw-r--r--ext/opcache/jit/zend_jit_x86.dasc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc
index 11179f696b..138ca91a19 100644
--- a/ext/opcache/jit/zend_jit_x86.dasc
+++ b/ext/opcache/jit/zend_jit_x86.dasc
@@ -8983,6 +8983,8 @@ static int zend_jit_send_var(dasm_State **Dst, const zend_op *opline, const zend
if (op1_info & (MAY_BE_ANY|MAY_BE_REF)) {
| jmp >7
|.code
+ } else {
+ return 1;
}
}