com php-src: Reserve WIN64 shadow space: ext/opcache/jit/zend _jit_x86.dasc

From: Date: Wed, 22 Jul 2020 14:49:51 +0000
Subject: com php-src: Reserve WIN64 shadow space: ext/opcache/jit/zend _jit_x86.dasc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-112317@lists.php.net to get a copy of this message
Commit: bc1d7b604056ecae9ec126979200f56987b71f9a Author: Dmitry Stogov <dmitry@zend.com> Wed, 22 Jul 2020 17:49:51 +0300 Parents: 9250abfb046f0442a7f97d1ec5931c7450cd658c Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bc1d7b604056ecae9ec126979200f56987b71f9a Log: Reserve WIN64 shadow space Changed paths: M ext/opcache/jit/zend_jit_x86.dasc Diff: diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index 2e14192ad5..856a88c885 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -2428,6 +2428,9 @@ static int zend_jit_trace_exit_stub(dasm_State **Dst) | movsd qword [r4+16*8+2*8], xmm2 | movsd qword [r4+16*8+1*8], xmm1 | movsd qword [r4+16*8+0*8], xmm0 + |.if X64WIN + | sub r4, 32 /* shadow space */ + |.endif |.else | sub r4, 8*4+8*8-4 /* CPU regs + SSE regs */ | mov aword [r4+7*4], edi @@ -2450,7 +2453,9 @@ static int zend_jit_trace_exit_stub(dasm_State **Dst) | SAVE_OPLINE | // zend_jit_trace_exit(trace_num, exit_num) | EXT_CALL zend_jit_trace_exit, r0 - |.if X64 + |.if X64WIN + | add r4, 16*8+16*8+32 /* CPU regs + SSE regs + shadow space */ + |.elif X64 | add r4, 16*8+16*8 /* CPU regs + SSE regs */ |.else | add r4, 8*4+8*8 /* CPU regs + SSE regs */

« previous php.cvs (#112317) next »