2003/11/13 05:04:22
[org.ibex.core.git] / src / org / xwt / js / ByteCodes.java
index 9087965..a5955a5 100644 (file)
@@ -54,16 +54,16 @@ interface ByteCodes {
     /** pop two elements; call stack[-n](stack[-n+1], stack[-n+2]...) where n is the number of args to the function */
     public static final byte CALL = -15;         
 
-    /** pop an element; push a JS.JS.Array containing the keys of the popped element */
+    /** pop an element; push a JS.JSArray containing the keys of the popped element */
     public static final byte PUSHKEYS = -16;     
 
     /** swap the top two elements on the stack */
     public static final byte SWAP = -17;         
 
-    /** execute the ForthBlock pointed to by the literal in a fresh scope with parentScope==THIS */
+    /** execute the ForthBlock pointed to by the literal in a fresh scope with parentJSScope==THIS */
     public static final byte NEWSCOPE = -18;        
 
-    /** execute the ForthBlock pointed to by the literal in a fresh scope with parentScope==THIS */
+    /** execute the ForthBlock pointed to by the literal in a fresh scope with parentJSScope==THIS */
     public static final byte OLDSCOPE = -19;
 
     /** push a copy of the top stack element */
@@ -83,13 +83,10 @@ interface ByteCodes {
     /** finish a finally block and carry out whatever instruction initiated the finally block */
     public static final byte FINALLY_DONE = -24;
     
-    /** same as CALL, except that the function is on top of the arguments instead of beneath them */
-    public static final byte CALL_REVERSED = -25; 
-
     public static final String[] bytecodeToString = new String[] {
         "", "", "LITERAL", "ARRAY", "OBJECT", "NEWFUNCTION", "DECLARE", "TOPSCOPE",
         "GET", "GET_PRESERVE", "PUT", "JT", "JF", "JMP", "POP", "CALL", "PUSHKEYS",
         "SWAP", "NEWSCOPE", "OLDSCOPE", "DUP", "LABEL", "LOOP", "CALLMETHOD",
-        "FINALLY_DONE", "CALL_REVERSED"
+        "FINALLY_DONE"
     };
 }