summaryrefslogtreecommitdiff
path: root/src/wasm-s-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r--src/wasm-s-parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h
index 34cd168cd..bf9cd239f 100644
--- a/src/wasm-s-parser.h
+++ b/src/wasm-s-parser.h
@@ -834,6 +834,7 @@ private:
ret->body = makeMaybeBlock(s, i);
labelStack.pop_back();
labelStack.pop_back();
+ ret->finalize();
return ret;
}