summaryrefslogtreecommitdiff
path: root/src/wasm-interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-interpreter.h')
-rw-r--r--src/wasm-interpreter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h
index 336ef1b3b..cd7708657 100644
--- a/src/wasm-interpreter.h
+++ b/src/wasm-interpreter.h
@@ -203,8 +203,8 @@ private:
if (flow.breaking()) {
if (flow.breakTo == curr->in) continue; // lol
flow.clearIf(curr->out);
- return flow;
}
+ return flow; // loop does not loop automatically, only continue achieves that
}
}
Flow visitLabel(Label *curr) override {