File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -2428,6 +2428,9 @@ static int zend_jit_trace_exit_stub(dasm_State **Dst)
2428
2428
| movsd qword [r4+16*8+2*8], xmm2
2429
2429
| movsd qword [r4+16*8+1*8], xmm1
2430
2430
| movsd qword [r4+16*8+0*8], xmm0
2431
+ |.if X64WIN
2432
+ | sub r4, 32 /* shadow space */
2433
+ |.endif
2431
2434
|.else
2432
2435
| sub r4, 8*4+8*8-4 /* CPU regs + SSE regs */
2433
2436
| mov aword [r4+7*4], edi
@@ -2450,7 +2453,9 @@ static int zend_jit_trace_exit_stub(dasm_State **Dst)
2450
2453
| SAVE_OPLINE
2451
2454
| // zend_jit_trace_exit(trace_num, exit_num)
2452
2455
| EXT_CALL zend_jit_trace_exit, r0
2453
- |.if X64
2456
+ |.if X64WIN
2457
+ | add r4, 16*8+16*8+32 /* CPU regs + SSE regs + shadow space */
2458
+ |.elif X64
2454
2459
| add r4, 16*8+16*8 /* CPU regs + SSE regs */
2455
2460
|.else
2456
2461
| add r4, 8*4+8*8 /* CPU regs + SSE regs */
You can’t perform that action at this time.
0 commit comments