mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1202138 - IonMonkey: MIPS32: Fix callAndPushReturnAddress with Label. r=nbp
This commit is contained in:
parent
88ffbb949d
commit
62843364da
@ -3458,9 +3458,9 @@ MacroAssembler::callAndPushReturnAddress(Register callee)
|
||||
void
|
||||
MacroAssembler::callAndPushReturnAddress(Label* label)
|
||||
{
|
||||
// Push return address during jalr delay slot.
|
||||
// Push return address during bal delay slot.
|
||||
as_addiu(StackPointer, StackPointer, -sizeof(intptr_t));
|
||||
as_jalr(label);
|
||||
ma_bal(label, DontFillDelaySlot);
|
||||
as_sw(ra, StackPointer, 0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user