summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2020-09-21 23:43:31 +0300
committerDmitry Stogov <dmitry@zend.com>2020-09-21 23:43:31 +0300
commit4ff21222757ffcce9ffbff8a86780fe34d93b209 (patch)
tree26ea035445fb7565d4fe62d3818abc12e8197944
parent2ee7e2982f5609ca6c3837c0b93ba9c5e89f84cb (diff)
downloadphp-git-4ff21222757ffcce9ffbff8a86780fe34d93b209.tar.gz
Ficed 32-bit JIT (inconsistent CPU stack state)
-rw-r--r--ext/opcache/jit/zend_jit_x86.dasc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc
index a6f9edecc3..8af035ec1f 100644
--- a/ext/opcache/jit/zend_jit_x86.dasc
+++ b/ext/opcache/jit/zend_jit_x86.dasc
@@ -9178,12 +9178,12 @@ static int zend_jit_init_method_call(dasm_State **Dst,
} else {
| EXT_CALL zend_jit_find_method_helper, r0
}
- | test r0, r0
- | jz ->exception_handler
|.if not(X64)
| add r4, 12
|.endif
- | jmp >2
+ | test r0, r0
+ | jnz >2
+ | jmp ->exception_handler
|.code
|2: