From: adam Date: Mon, 17 Jan 2005 00:59:49 +0000 (+0000) Subject: include CALLMETHOD and GET_PRESERVE as acceptable restart bytecodes X-Git-Url: http://git.megacz.com/?p=org.ibex.js.git;a=commitdiff_plain;h=45e832a060620ef5efe6f855808d273e3aa8fdd5 include CALLMETHOD and GET_PRESERVE as acceptable restart bytecodes darcs-hash:20050117005949-5007d-c1de2f249f464d86e57f2c017bee6b657a316a3d.gz --- diff --git a/src/org/ibex/js/Interpreter.java b/src/org/ibex/js/Interpreter.java index 21fffba..26521fa 100644 --- 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]); } }