diff options
Diffstat (limited to 'mlir/lib/Transforms/StripDebugInfo.cpp')
| -rw-r--r-- | mlir/lib/Transforms/StripDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Transforms/StripDebugInfo.cpp b/mlir/lib/Transforms/StripDebugInfo.cpp index 6e1d5ff2d11..c5e42b622ed 100644 --- a/mlir/lib/Transforms/StripDebugInfo.cpp +++ b/mlir/lib/Transforms/StripDebugInfo.cpp @@ -39,7 +39,7 @@ PassResult StripDebugInfo::runOnFunction(Function *f) { // Strip the debug info from the function and its instructions. f->setLoc(unknownLoc); - f->walkInsts([&](Instruction *inst) { inst->setLoc(unknownLoc); }); + f->walk([&](Instruction *inst) { inst->setLoc(unknownLoc); }); return success(); } |

