]> granicus.if.org Git - php/commitdiff
Fixed stack alignment
authorDmitry Stogov <dmitry@zend.com>
Fri, 7 Feb 2020 10:00:48 +0000 (13:00 +0300)
committerDmitry Stogov <dmitry@zend.com>
Fri, 7 Feb 2020 10:00:48 +0000 (13:00 +0300)
ext/opcache/jit/zend_jit_x86.dasc

index 98cd2ea1647feb95f8f6b7a648ace1e423065643..7b1b123e0f938b3158c4cbb7578959d42f0b4c8a 100644 (file)
@@ -9379,10 +9379,12 @@ static zend_bool zend_jit_verify_return_type(dasm_State **Dst, const zend_op *op
                |       SAVE_VALID_OPLINE opline
                |       EXT_CALL zend_jit_verify_return_slow, r0
        |.else
+               |       sub r4, 8
                |       push r0
                |       push (ptrdiff_t)arg_info
                |       SAVE_VALID_OPLINE opline
                |       EXT_CALL zend_jit_verify_return_slow, r0
+               |       sub r4, 8
        |.endif
        if (!zend_jit_check_exception(Dst)) {
                return 0;