Created
September 16, 2021 13:51
-
-
Save dstogov/67de05a8cdf652bcc0a807062c8ba296 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc | |
index 205d1bccb8..1c94e1a8e1 100644 | |
--- a/ext/opcache/jit/zend_jit_x86.dasc | |
+++ b/ext/opcache/jit/zend_jit_x86.dasc | |
@@ -8271,7 +8271,7 @@ static int zend_jit_bool_jmpznz(dasm_State **Dst, const zend_op *opline, uint32_ | |
return 1; | |
} | |
- if (op1_info & MAY_BE_REF) { | |
+ if (opline->op1_type == IS_CV && (op1_info & MAY_BE_REF)) { | |
| LOAD_ZVAL_ADDR FCARG1a, op1_addr | |
| ZVAL_DEREF FCARG1a, op1_info | |
op1_addr = ZEND_ADDR_MEM_ZVAL(ZREG_FCARG1, 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment