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 3a51e7887..c04cbc545 100644
--- a/src/wasm-s-parser.h
+++ b/src/wasm-s-parser.h
@@ -221,6 +221,7 @@ private:
func->body = parseExpression(curr);
}
}
+ wasm.functions.push_back(func);
currLocalTypes.clear();
}