summaryrefslogtreecommitdiff
path: root/src/passes/pass.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2024-01-30 17:26:39 -0800
committerGitHub <noreply@github.com>2024-01-30 17:26:39 -0800
commitcf14a9fa9cd6f99ef78a5ffa70cfcb024a524919 (patch)
tree44a80e74df693c1754d01ceb64eecdf80b839050 /src/passes/pass.cpp
parent8504571fb7209d07670a06c42a868bbfc954c756 (diff)
downloadbinaryen-cf14a9fa9cd6f99ef78a5ffa70cfcb024a524919.tar.gz
binaryen-cf14a9fa9cd6f99ef78a5ffa70cfcb024a524919.tar.bz2
binaryen-cf14a9fa9cd6f99ef78a5ffa70cfcb024a524919.zip
[EH] Change translator option name (#6259)
The previous name feels too verbose and unwieldy. This also removes the "new-to-old EH" placeholder. I think it'd be better to add it back when it is actually added.
Diffstat (limited to 'src/passes/pass.cpp')
-rw-r--r--src/passes/pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/pass.cpp b/src/passes/pass.cpp
index 5f5db2f7f..0b7d3426b 100644
--- a/src/passes/pass.cpp
+++ b/src/passes/pass.cpp
@@ -491,9 +491,9 @@ void PassRegistry::registerPasses() {
registerPass("strip-target-features",
"strip the wasm target features section",
createStripTargetFeaturesPass);
- registerPass("translate-eh-old-to-new",
+ registerPass("translate-to-new-eh",
"translate old EH instructions to new ones",
- createTranslateEHOldToNewPass);
+ createTranslateToNewEHPass);
registerPass("trap-mode-clamp",
"replace trapping operations with clamping semantics",
createTrapModeClamp);