mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1139299 - Fix align stack in Simulator-mips::call. r=rankov, r=nbp
This commit is contained in:
parent
9e0d0967f3
commit
ad6831d65d
@ -3423,7 +3423,7 @@ Simulator::call(uint8_t *entry, int argument_count, ...)
|
|||||||
else
|
else
|
||||||
entry_stack = entry_stack - kCArgsSlotsSize;
|
entry_stack = entry_stack - kCArgsSlotsSize;
|
||||||
|
|
||||||
entry_stack &= ~ABIStackAlignment;
|
entry_stack &= ~(ABIStackAlignment - 1);
|
||||||
|
|
||||||
intptr_t *stack_argument = reinterpret_cast<intptr_t*>(entry_stack);
|
intptr_t *stack_argument = reinterpret_cast<intptr_t*>(entry_stack);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user