summaryrefslogtreecommitdiff
path: root/src/passes/pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/pass.cpp')
-rw-r--r--src/passes/pass.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/passes/pass.cpp b/src/passes/pass.cpp
index d94e454c3..5a0dedf37 100644
--- a/src/passes/pass.cpp
+++ b/src/passes/pass.cpp
@@ -340,6 +340,9 @@ void PassRegistry::registerPasses() {
registerPass("spill-pointers",
"spill pointers to the C stack (useful for Boehm-style GC)",
createSpillPointersPass);
+ registerPass("stub-unsupported-js",
+ "stub out unsupported JS operations",
+ createStubUnsupportedJSOpsPass);
registerPass("ssa",
"ssa-ify variables so that they have a single assignment",
createSSAifyPass);