diff options
Diffstat (limited to 'src/passes/DeadCodeElimination.cpp')
-rw-r--r-- | src/passes/DeadCodeElimination.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/passes/DeadCodeElimination.cpp b/src/passes/DeadCodeElimination.cpp index c77edf357..da22a7f28 100644 --- a/src/passes/DeadCodeElimination.cpp +++ b/src/passes/DeadCodeElimination.cpp @@ -252,14 +252,14 @@ struct DeadCodeElimination DELEGATE(Call); case Expression::Id::CallIndirectId: DELEGATE(CallIndirect); - case Expression::Id::GetLocalId: - DELEGATE(GetLocal); - case Expression::Id::SetLocalId: - DELEGATE(SetLocal); - case Expression::Id::GetGlobalId: - DELEGATE(GetGlobal); - case Expression::Id::SetGlobalId: - DELEGATE(SetGlobal); + case Expression::Id::LocalGetId: + DELEGATE(LocalGet); + case Expression::Id::LocalSetId: + DELEGATE(LocalSet); + case Expression::Id::GlobalGetId: + DELEGATE(GlobalGet); + case Expression::Id::GlobalSetId: + DELEGATE(GlobalSet); case Expression::Id::LoadId: DELEGATE(Load); case Expression::Id::StoreId: @@ -400,11 +400,11 @@ struct DeadCodeElimination } } - void visitSetLocal(SetLocal* curr) { + void visitLocalSet(LocalSet* curr) { blockifyReachableOperands({curr->value}, curr->type); } - void visitSetGlobal(SetGlobal* curr) { + void visitGlobalSet(GlobalSet* curr) { blockifyReachableOperands({curr->value}, curr->type); } |