From f30d9f6cde023b29409f73aba68f472c06c3b11c Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 3 Aug 2016 12:12:24 -0700 Subject: loops no longer have an out label and other upstream loop updates --- src/wasm-interpreter.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/wasm-interpreter.h') diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h index 77cbd8aab..247d34500 100644 --- a/src/wasm-interpreter.h +++ b/src/wasm-interpreter.h @@ -170,8 +170,7 @@ public: while (1) { Flow flow = visit(curr->body); if (flow.breaking()) { - if (flow.breakTo == curr->in) continue; // lol - flow.clearIf(curr->out); + if (flow.breakTo == curr->name) continue; // lol } return flow; // loop does not loop automatically, only continue achieves that } -- cgit v1.2.3