Bug 503818: update upvar stack arithmetic for jsop_arguments patch, r=gal

This commit is contained in:
David Mandelin 2009-07-13 17:37:00 -07:00
parent 09237500b2
commit 3d9684f134

View File

@ -2214,7 +2214,7 @@ struct UpvarVarTraits {
}
static uint32 native_slot(uint32 argc, int32 slot) {
return 2 /*callee,this*/ + argc + slot;
return 3 /*callee,this,arguments*/ + argc + slot;
}
};