diff options
Diffstat (limited to 'src/passes/PickLoadSigns.cpp')
-rw-r--r-- | src/passes/PickLoadSigns.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/PickLoadSigns.cpp b/src/passes/PickLoadSigns.cpp index f494159a1..c3b5a2ba2 100644 --- a/src/passes/PickLoadSigns.cpp +++ b/src/passes/PickLoadSigns.cpp @@ -51,7 +51,7 @@ struct PickLoadSigns : public WalkerPass<ExpressionStackWalker<PickLoadSigns>> { optimize(); } - void visitGetLocal(GetLocal* curr) { + void visitLocalGet(LocalGet* curr) { // this is a use. check from the context what it is, signed or unsigned, // etc. auto& usage = usages[curr->index]; @@ -81,7 +81,7 @@ struct PickLoadSigns : public WalkerPass<ExpressionStackWalker<PickLoadSigns>> { } } - void visitSetLocal(SetLocal* curr) { + void visitLocalSet(LocalSet* curr) { if (curr->isTee()) { // we can't modify a tee, the value is used elsewhere return; |