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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h
index d621128de..6be17f561 100644
--- a/src/wasm-s-parser.h
+++ b/src/wasm-s-parser.h
@@ -159,6 +159,10 @@ public:
}
Expression* parseExpression(Element& s);
+ MixedArena& getAllocator() {
+ return allocator;
+ }
+
private:
Expression* makeExpression(Element& s);
Expression* makeBinary(Element& s, BinaryOp op, WasmType type);