summaryrefslogtreecommitdiff
path: root/src/passes/ReReloop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/ReReloop.cpp')
-rw-r--r--src/passes/ReReloop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/ReReloop.cpp b/src/passes/ReReloop.cpp
index ff1eec6b5..d96b95715 100644
--- a/src/passes/ReReloop.cpp
+++ b/src/passes/ReReloop.cpp
@@ -296,7 +296,7 @@ struct ReReloop final : public Pass {
// TODO: optimize with this?
}
- void runFunction(PassRunner* runner, Module* module, Function* function) override {
+ void runOnFunction(PassRunner* runner, Module* module, Function* function) override {
// since control flow is flattened, this is pretty simple
// first, traverse the function body. note how we don't need to traverse
// into expressions, as we know they contain no control flow