diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2020-09-22 12:13:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 12:13:12 -0700 |
commit | e5bf7680a0616f994a9c5c266df9ba76f21e93e9 (patch) | |
tree | b141bd00a7368c438ca51cd54a77658b06734fad /src/wasm-s-parser.h | |
parent | 0f9339d4e9cfce796d5056c962a183680a19c8ea (diff) | |
download | binaryen-e5bf7680a0616f994a9c5c266df9ba76f21e93e9.tar.gz binaryen-e5bf7680a0616f994a9c5c266df9ba76f21e93e9.tar.bz2 binaryen-e5bf7680a0616f994a9c5c266df9ba76f21e93e9.zip |
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.
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r-- | src/wasm-s-parser.h | 1 |
1 files changed, 0 insertions, 1 deletions
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: |