summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2020-08-28 00:53:09 +0300
committerDmitry Stogov <dmitry@zend.com>2020-08-28 00:53:09 +0300
commit1c1165f8cdd1843d2be20cadd21aa5160bfd510e (patch)
tree1a71fa22db89e070d9d626419046d8a390a7ccc6
parent0866208988a6de520070d76d88f6e5cf158c6a3b (diff)
downloadphp-git-1c1165f8cdd1843d2be20cadd21aa5160bfd510e.tar.gz
Avoid useless IP load
-rw-r--r--ext/opcache/jit/zend_jit_x86.dasc7
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc
index 448a545e4d..473ec4f9fa 100644
--- a/ext/opcache/jit/zend_jit_x86.dasc
+++ b/ext/opcache/jit/zend_jit_x86.dasc
@@ -9240,12 +9240,7 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend
| // if (UNEXPECTED(EG(exception) != NULL)) {
| MEM_OP2_1_ZTS cmp, aword, executor_globals, exception, 0, r0
- | jne >1
- |.cold_code
- |1:
- | LOAD_IP_ADDR opline
- | jmp ->icall_throw_handler
- |.code
+ | jne ->icall_throw_handler
// TODO: Can we avoid checking for interrupts after each call ???
if (trace && last_valid_opline != opline) {