From fea999ea89f89947cb72a1846ed1743dbe935d09 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 29 Aug 2022 08:17:34 -0700 Subject: [NFC] Simplify binary reading logic for globals (#4980) Similar to #4969 but for globals. --- src/wasm-binary.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/wasm-binary.h') diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 07ae01160..4a4cab13f 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -1540,11 +1540,6 @@ public: // we store data here after being read from binary, before we know their names std::vector> dataSegments; - // we store globals here before wasm.addGlobal after we know their names - std::vector> globals; - // we store global imports here before wasm.addGlobalImport after we know - // their names - std::vector globalImports; // at index i we have all refs to the global i std::map> globalRefs; -- cgit v1.2.3