projects
/
org.ibex.js.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include CALLMETHOD and GET_PRESERVE as acceptable restart bytecodes
[org.ibex.js.git]
/
src
/
org
/
ibex
/
js
/
Interpreter.java
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;
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]);
}
}
default: throw new Error("paused on unexpected bytecode: " + f.op[pc]);
}
}