]> granicus.if.org Git - php/commitdiff
Avoid useless manual instruction encoding
authorDmitry Stogov <dmitry@zend.com>
Tue, 12 May 2020 11:24:13 +0000 (14:24 +0300)
committerDmitry Stogov <dmitry@zend.com>
Tue, 12 May 2020 11:24:13 +0000 (14:24 +0300)
ext/opcache/jit/zend_jit_x86.dasc

index d90f93861e0af8723a310c3693fb2a3b01e213d3..b654ed2fc742652b719abe7704230e8498d1d2b2 100644 (file)
@@ -2481,7 +2481,7 @@ static int zend_jit_trace_exit_group_stub(dasm_State **Dst, uint32_t n)
        }
        |       push byte i
        |// 1:
-       |       .byte 0x81, 0x04, 0x24; .dword n // add aword [r4], n
+       |       add aword [r4], n
        |       jmp ->trace_exit
 
        return 1;