diff options
Diffstat (limited to 'src/passes/LogExecution.cpp')
-rw-r--r-- | src/passes/LogExecution.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/passes/LogExecution.cpp b/src/passes/LogExecution.cpp index f1d48012f..aa7948963 100644 --- a/src/passes/LogExecution.cpp +++ b/src/passes/LogExecution.cpp @@ -46,8 +46,7 @@ struct LogExecution : public WalkerPass<PostWalker<LogExecution>> { bool addsEffects() override { return true; } void run(Module* module) override { - auto& options = getPassOptions(); - loggerModule = options.getArgumentOrDefault("log-execution", ""); + loggerModule = getArgumentOrDefault("log-execution", ""); super::run(module); } |