diff options
author | Alon Zakai <azakai@google.com> | 2022-08-26 15:47:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-26 15:47:27 -0700 |
commit | c929cf6b5ce444e1fadd52f6d289142ad5b3df5a (patch) | |
tree | c8d3049833f0ea1a3f04747e4498064351b8e52f /src/wasm-binary.h | |
parent | 6bf41a5f717115f73626ca0fa2029a526616344c (diff) | |
download | binaryen-c929cf6b5ce444e1fadd52f6d289142ad5b3df5a.tar.gz binaryen-c929cf6b5ce444e1fadd52f6d289142ad5b3df5a.tar.bz2 binaryen-c929cf6b5ce444e1fadd52f6d289142ad5b3df5a.zip |
[NFC] Simplify binary reading logic for tables (#4974)
Similar to #4969 but for tables.
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index a00a1df46..07ae01160 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -1519,11 +1519,6 @@ public: // function to check Index endOfFunction = -1; - // we store tables here before wasm.addTable after we know their names - std::vector<std::unique_ptr<Table>> tables; - // we store table imports here before wasm.addTableImport after we know - // their names - std::vector<Table*> tableImports; // at index i we have all references to the table i std::map<Index, std::vector<Name*>> tableRefs; |