We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e8a885 commit 528a7ceCopy full SHA for 528a7ce
graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/nodes/control/SwitchNode.java
@@ -207,6 +207,7 @@ public Object resume(VirtualFrame frame) {
207
int statementIndex;
208
Object resumptionResult;
209
if (maybeState instanceof SwitchResumptionRecord) {
210
+ resetState(frame);
211
SwitchResumptionRecord state = (SwitchResumptionRecord) maybeState;
212
caseIndex = state.caseIndex;
213
statementIndex = state.statementIndex;
0 commit comments