summaryrefslogtreecommitdiff
path: root/src/tools/wasm-metadce.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm-metadce.cpp')
-rw-r--r--src/tools/wasm-metadce.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/wasm-metadce.cpp b/src/tools/wasm-metadce.cpp
index 35fbc6357..c04286f59 100644
--- a/src/tools/wasm-metadce.cpp
+++ b/src/tools/wasm-metadce.cpp
@@ -154,8 +154,8 @@ struct MetaDCEGraph {
InitScanner(MetaDCEGraph* parent, Name parentDceName)
: parent(parent), parentDceName(parentDceName) {}
- void visitGetGlobal(GetGlobal* curr) { handleGlobal(curr->name); }
- void visitSetGlobal(SetGlobal* curr) { handleGlobal(curr->name); }
+ void visitGlobalGet(GlobalGet* curr) { handleGlobal(curr->name); }
+ void visitGlobalSet(GlobalSet* curr) { handleGlobal(curr->name); }
private:
MetaDCEGraph* parent;
@@ -223,8 +223,8 @@ struct MetaDCEGraph {
->importIdToDCENode[parent->getFunctionImportId(curr->target)]);
}
}
- void visitGetGlobal(GetGlobal* curr) { handleGlobal(curr->name); }
- void visitSetGlobal(SetGlobal* curr) { handleGlobal(curr->name); }
+ void visitGlobalGet(GlobalGet* curr) { handleGlobal(curr->name); }
+ void visitGlobalSet(GlobalSet* curr) { handleGlobal(curr->name); }
private:
MetaDCEGraph* parent;