projects
/
org.ibex.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53a7aa2
)
include CALLMETHOD and GET_PRESERVE as acceptable restart bytecodes
author
adam
<adam@megacz.com>
Mon, 17 Jan 2005 00:59:49 +0000
(
00:59
+0000)
committer
adam
<adam@megacz.com>
Mon, 17 Jan 2005 00:59:49 +0000
(
00:59
+0000)
darcs-hash:
20050117005949
-5007d-
c1de2f249f464d86e57f2c017bee6b657a316a3d
.gz
src/org/ibex/js/Interpreter.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/js/Interpreter.java
b/src/org/ibex/js/Interpreter.java
index
21fffba
..
26521fa
100644
(file)
--- a/
src/org/ibex/js/Interpreter.java
+++ b/
src/org/ibex/js/Interpreter.java
@@
-71,7
+71,7
@@
class Interpreter implements ByteCodes, Tokens, Pausable {
pausecount++;
switch(f.op[pc]) {
case Tokens.RETURN: case ByteCodes.PUT: get = false; break;
- case ByteCodes.GET: case ByteCodes.CALL: get = true; break;
+ case ByteCodes.GET: case ByteCodes.GET_PRESERVE: case ByteCodes.CALLMETHOD: case ByteCodes.CALL: get = true; break;
default: throw new Error("paused on unexpected bytecode: " + f.op[pc]);
}
}