From 3d9684f134a2c6b6524cc48905fae036b3971842 Mon Sep 17 00:00:00 2001 From: David Mandelin Date: Mon, 13 Jul 2009 17:37:00 -0700 Subject: [PATCH] Bug 503818: update upvar stack arithmetic for jsop_arguments patch, r=gal --- js/src/jstracer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jstracer.cpp b/js/src/jstracer.cpp index 78cd62260a3..fcf61f185bf 100644 --- a/js/src/jstracer.cpp +++ b/js/src/jstracer.cpp @@ -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; } };