boolean get;
switch(i.f.op[i.pc]) {
case Tokens.RETURN: case ByteCodes.PUT: get = false; break;
- case ByteCodes.GET: case ByteCodes.CALL: get = true; break;
- default: throw new Error("should never happen");
+ case ByteCodes.GET: case ByteCodes.CALL: case ByteCodes.CALLMETHOD: get = true; break;
+ default: throw new Error("should never happen: i.f.op[i.pc] == " + i.f.op[i.pc]);
}
i.pausecount++;
return new JS.UnpauseCallback(i,get);