more new js api fixes and cleanup
[org.ibex.core.git] / src / org / ibex / js / Trap.java
index 248ae6a..67d0238 100644 (file)
@@ -46,19 +46,4 @@ class Trap {
         i.stack.push(name);
         return i.resume();
     }
-
-    // FIXME: review; is necessary?
-    /*static class TrapScope extends JSScope {
-        Trap t;
-        Object val = null;
-        boolean cascadeHappened = false;
-        public TrapScope(JSScope parent, Trap t, Object val) { super(parent); this.t = t; this.val = val; }
-        public Object get(Object key) throws JSExn {
-            if (key.equals("trapee")) return t.trapee;
-            if (key.equals("callee")) return t.f;
-            if (key.equals("trapname")) return t.name;
-            return super.get(key);
-        }
-    }*/
 }
-