summaryrefslogtreecommitdiff
path: root/src/passes/MergeBlocks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/MergeBlocks.cpp')
-rw-r--r--src/passes/MergeBlocks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/MergeBlocks.cpp b/src/passes/MergeBlocks.cpp
index 973f17eec..bba64c381 100644
--- a/src/passes/MergeBlocks.cpp
+++ b/src/passes/MergeBlocks.cpp
@@ -476,7 +476,7 @@ struct MergeBlocks : public WalkerPass<PostWalker<MergeBlocks>> {
}
void visitUnary(Unary* curr) { optimize(curr, curr->value); }
- void visitSetLocal(SetLocal* curr) { optimize(curr, curr->value); }
+ void visitLocalSet(LocalSet* curr) { optimize(curr, curr->value); }
void visitLoad(Load* curr) { optimize(curr, curr->ptr); }
void visitReturn(Return* curr) { optimize(curr, curr->value); }