summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index e787baa9d..f6924aa14 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -1511,11 +1511,6 @@ public:
// We read functions and globals before we know their names, so we need to
// backpatch the names later
- // we store functions here before wasm.addFunction after we know their names
- std::vector<Function*> functions;
- // we store function imports here before wasm.addFunctionImport after we know
- // their names
- std::vector<Function*> functionImports;
// at index i we have all refs to the function i
std::map<Index, std::vector<Name*>> functionRefs;
Function* currFunction = nullptr;