]> granicus.if.org Git - php/commitdiff
Eliminate check
authorDmitry Stogov <dmitry@zend.com>
Tue, 6 Oct 2020 12:50:37 +0000 (15:50 +0300)
committerDmitry Stogov <dmitry@zend.com>
Tue, 6 Oct 2020 12:50:37 +0000 (15:50 +0300)
ext/opcache/jit/zend_jit_x86.dasc

index ea12c0c329ff804f6631401ec7ca156bffaeed15..959d904a0ce578d78d52b5273fb42260de555aa9 100644 (file)
@@ -11099,8 +11099,11 @@ static int zend_jit_leave_func(dasm_State          **Dst,
                        if (may_be_top_frame) {
                                // TODO: try to avoid this check ???
                                if (zend_jit_vm_kind == ZEND_VM_KIND_HYBRID) {
+#if 0
+                                       /* this check should be handled by the following OPLINE guard */
                                        |       cmp IP, zend_jit_halt_op
                                        |       je ->trace_halt
+#endif
                                } else if (GCC_GLOBAL_REGS) {
                                        |       test IP, IP
                                        |       je ->trace_halt