Fix shifted lookup for VM wrapper arguments. (no bug, r=bloody-arm)

This commit is contained in:
Nicolas Pierron 2012-05-10 09:57:42 -07:00
parent fc13a52cc4
commit 74bcde81ad

View File

@ -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.