summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-08-31 09:10:22 -0700
committerGitHub <noreply@github.com>2022-08-31 16:10:22 +0000
commit972cc6f39cb903834be6066c33356f77fc41bc26 (patch)
treec144536cfbd5fe5e962566bea3545223fbd3685b /src/wasm-binary.h
parent8e1abd1eff79fa25f0dda7ccb529f672f0d90388 (diff)
downloadbinaryen-972cc6f39cb903834be6066c33356f77fc41bc26.tar.gz
binaryen-972cc6f39cb903834be6066c33356f77fc41bc26.tar.bz2
binaryen-972cc6f39cb903834be6066c33356f77fc41bc26.zip
[NFC] Simplify binary reading logic for data segments (#4990)
Similar to #4969 but for data segments.
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index 2359d53bf..ab55b6f50 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -1529,9 +1529,6 @@ public:
// at index i we have all references to the memory i
std::map<Index, std::vector<wasm::Name*>> memoryRefs;
- // we store data here after being read from binary, before we know their names
- std::vector<std::unique_ptr<DataSegment>> dataSegments;
-
// at index i we have all refs to the global i
std::map<Index, std::vector<Name*>> globalRefs;