2003/07/06 13:42:15
[org.ibex.core.git] / src / org / xwt / js / ByteCodes.java
index bac280a..5dc2aff 100644 (file)
@@ -77,10 +77,13 @@ interface ByteCodes {
         Has a similar effect a a GET followed by a CALL */
     public static final byte CALLMETHOD = -23;
 
-
+    /** finish a finally block and carry out whatever instruction initiated the finally block */
+    public static final byte FINALLY_DONE = -24;
+    
     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"
+        "SWAP", "NEWSCOPE", "OLDSCOPE", "DUP", "LABEL", "LOOP", "CALLMETHOD",
+        "FINALLY_DONE"
     };
 }