projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2003/11/13 09:15:12
[org.ibex.core.git]
/
src
/
org
/
xwt
/
js
/
ByteCodes.java
diff --git
a/src/org/xwt/js/ByteCodes.java
b/src/org/xwt/js/ByteCodes.java
index
a5955a5
..
d364d8c
100644
(file)
--- a/
src/org/xwt/js/ByteCodes.java
+++ b/
src/org/xwt/js/ByteCodes.java
@@
-51,13
+51,13
@@
interface ByteCodes {
/** discard the top stack element */
static public final byte POP = -14;
/** discard the top stack element */
static public final byte POP = -14;
- /** pop two elements; call stack[-n](stack[-n+1], stack[-n+2]...) where n is the number of args to the function */
+ /** pop element; call stack[top](stack[-n], stack[-n+1]...) where n is the number of args to the function */
public static final byte CALL = -15;
/** pop an element; push a JS.JSArray containing the keys of the popped element */
public static final byte PUSHKEYS = -16;
public static final byte CALL = -15;
/** 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 */
+ /** pops [arg+2] elements, pushes the former top element, then pushes back the rest (retaining order) */
public static final byte SWAP = -17;
/** execute the ForthBlock pointed to by the literal in a fresh scope with parentJSScope==THIS */
public static final byte SWAP = -17;
/** execute the ForthBlock pointed to by the literal in a fresh scope with parentJSScope==THIS */
@@
-76,8
+76,7
@@
interface ByteCodes {
* and FALSE for all subsequent iterations */
public static final byte LOOP = -22;
* and FALSE for all subsequent iterations */
public static final byte LOOP = -22;
- /** pop three elements off the stack; method arguments, method name, and an object to call the method on, then calls the method
- Has a similar effect a a GET followed by a CALL */
+ /** 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 CALLMETHOD = -23;
/** finish a finally block and carry out whatever instruction initiated the finally block */