type in JSArgs stuff
authorbrian <brian@brianweb.net>
Wed, 7 Jul 2004 00:49:44 +0000 (00:49 +0000)
committerbrian <brian@brianweb.net>
Wed, 7 Jul 2004 00:49:44 +0000 (00:49 +0000)
darcs-hash:20040707004944-24bed-47076ba444b52b44384e6aa4c760651ecb2d223a.gz

src/org/ibex/js/Interpreter.java

index 6c8736b..6fc452b 100644 (file)
@@ -225,12 +225,12 @@ class Interpreter implements ByteCodes, Tokens {
                     t = target instanceof JSScope ? t = ((JSScope)target).top().getTrap(key) : ((JS)target).getTrap(key);
                     while(t != null && t.readTrap()) t = t.next;
                 }
-                
+
                 stack.push(val);
                 
                 if(t != null) {
                     stack.push(new TrapMarker(this,t,target,key,val));
-                    stack.push(new JSArgs(t.f));
+                    stack.push(new JSArgs(val,t.f));
                     f = t.f;
                     scope = new TrapScope(f.parentScope,target,f,key);
                     pc = -1;