From e5bf7680a0616f994a9c5c266df9ba76f21e93e9 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Tue, 22 Sep 2020 12:13:12 -0700 Subject: Remove redundant allocator in Builder (#3144) Builders gained a `Module` field in #3130 because they now require extra context to properly finalize some Expressions. Since modules contain allocators, the old allocator field on the builder became redundant after that change. This PR removes the redundant allocator field. --- src/wasm-s-parser.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/wasm-s-parser.h') diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index 5719084e4..88fa4d02e 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -173,7 +173,6 @@ public: Expression* parseExpression(Element* s) { return parseExpression(*s); } Expression* parseExpression(Element& s); - MixedArena& getAllocator() { return allocator; } Module& getModule() { return wasm; } private: -- cgit v1.2.3