X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Fjs%2FByteCodes.java;fp=src%2Forg%2Fxwt%2Fjs%2FByteCodes.java;h=1089f64dbdef906f52b42e9dd7594d0def4b0f00;hb=e6a665b309c7103a3a29c2cd96b1073409c13606;hp=62908afcbb0dbfa2f397b5af0304d37a80904e0f;hpb=2a94571c07db6db966f6bfa32583a72287f4db29;p=org.ibex.core.git diff --git a/src/org/xwt/js/ByteCodes.java b/src/org/xwt/js/ByteCodes.java index 62908af..1089f64 100644 --- a/src/org/xwt/js/ByteCodes.java +++ b/src/org/xwt/js/ByteCodes.java @@ -58,16 +58,19 @@ interface ByteCodes { public static final byte SWAP = -17; /** execute the ForthBlock pointed to by the literal in a fresh scope with parentScope==THIS */ - public static final byte SCOPE = -18; + public static final byte PUSHSCOPE = -18; + + /** execute the ForthBlock pointed to by the literal in a fresh scope with parentScope==THIS */ + public static final byte POPSCOPE = -19; /** push a copy of the top stack element */ - public static final byte DUP = -19; + public static final byte DUP = -20; /** declare a label */ - public static final byte LABEL = -20; + public static final byte LABEL = -21; /** execute the ForthBlock pointed to by the literal until BREAK encountered; push TRUE onto the stack for the first iteration * and FALSE for all subsequent iterations */ - public static final byte LOOP = -21; + public static final byte LOOP = -22; }