summaryrefslogtreecommitdiff
path: root/src/passes/opt-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/opt-utils.h')
-rw-r--r--src/passes/opt-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/opt-utils.h b/src/passes/opt-utils.h
index 326f75f95..28ace047a 100644
--- a/src/passes/opt-utils.h
+++ b/src/passes/opt-utils.h
@@ -88,7 +88,7 @@ inline void replaceFunctions(PassRunner* runner,
// replace direct calls in code both functions and module elements
FunctionRefReplacer replacer(maybeReplace);
replacer.run(runner, &module);
- replacer.walkModuleCode(&module);
+ replacer.runOnModuleCode(runner, &module);
// replace in start
if (module.start.is()) {