summaryrefslogtreecommitdiff
path: root/src/passes/TraceCalls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/TraceCalls.cpp')
-rw-r--r--src/passes/TraceCalls.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/passes/TraceCalls.cpp b/src/passes/TraceCalls.cpp
index 01278c2e9..44bc16e95 100644
--- a/src/passes/TraceCalls.cpp
+++ b/src/passes/TraceCalls.cpp
@@ -124,10 +124,10 @@ struct TraceCalls : public Pass {
bool addsEffects() override { return true; }
void run(Module* module) override {
- auto functionsDefinitions = getPassOptions().getArgument(
- "trace-calls",
- "TraceCalls usage: wasm-opt "
- "--trace-calls=FUNCTION_TO_TRACE[:TRACER_NAME][,...]");
+ auto functionsDefinitions =
+ getArgument("trace-calls",
+ "TraceCalls usage: wasm-opt "
+ "--trace-calls=FUNCTION_TO_TRACE[:TRACER_NAME][,...]");
auto tracedFunctions = parseArgument(functionsDefinitions);