summaryrefslogtreecommitdiff
path: root/src/wasm-module-building.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-module-building.h')
-rw-r--r--src/wasm-module-building.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-module-building.h b/src/wasm-module-building.h
index 52a4e7536..92b96d98d 100644
--- a/src/wasm-module-building.h
+++ b/src/wasm-module-building.h
@@ -97,7 +97,7 @@ public:
}
// Before parallelism, create all passes on the main thread here, to ensure
- // constructors run at least once on the main thread, for one-time init things.
+ // prepareToRun() is called for each pass before we start to optimize functions.
{
PassRunner passRunner(wasm);
addPrePasses(passRunner);