From 599add0066bcc10afa60b11d5b11b522f47d4335 Mon Sep 17 00:00:00 2001 From: brian Date: Wed, 7 Jul 2004 00:49:44 +0000 Subject: [PATCH] type in JSArgs stuff darcs-hash:20040707004944-24bed-47076ba444b52b44384e6aa4c760651ecb2d223a.gz --- src/org/ibex/js/Interpreter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/ibex/js/Interpreter.java b/src/org/ibex/js/Interpreter.java index 6c8736b..6fc452b 100644 --- a/src/org/ibex/js/Interpreter.java +++ b/src/org/ibex/js/Interpreter.java @@ -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; -- 1.7.10.4