diff options
Diffstat (limited to 'src/passes/pass.cpp')
-rw-r--r-- | src/passes/pass.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/passes/pass.cpp b/src/passes/pass.cpp index c5a2bcc55..5e5ee04a4 100644 --- a/src/passes/pass.cpp +++ b/src/passes/pass.cpp @@ -501,8 +501,11 @@ void PassRegistry::registerPasses() { "strip the wasm target features section", createStripTargetFeaturesPass); registerPass("translate-to-new-eh", - "translate old EH instructions to new ones", - createTranslateToNewEHPass); + "deprecated; same as translate-to-exnref", + createTranslateToExnrefPass); + registerPass("translate-to-exnref", + "translate old Phase 3 EH instructions to new ones with exnref", + createTranslateToExnrefPass); registerPass("trap-mode-clamp", "replace trapping operations with clamping semantics", createTrapModeClamp); |