mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix shifted lookup for VM wrapper arguments. (no bug, r=bloody-arm)
This commit is contained in:
parent
fc13a52cc4
commit
74bcde81ad
@ -574,7 +574,7 @@ IonCompartment::generateVMWrapper(JSContext *cx, const VMFunction &f)
|
||||
if (f.explicitArgs) {
|
||||
argsBase = r5;
|
||||
regs.take(argsBase);
|
||||
masm.ma_add(sp, Imm32(sizeof(IonExitFrameLayout) + argumentPadding), argsBase);
|
||||
masm.ma_add(sp, Imm32(IonExitFrameLayout::SizeWithFooter()), argsBase);
|
||||
}
|
||||
|
||||
// Reserve space for the outparameter.
|
||||
|
Loading…
Reference in New Issue
Block a user