aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/SparcV9/SparcV9TargetMachine.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
index 8ec0ada1f8..8c87ca3184 100644
--- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp
+++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
@@ -158,6 +158,9 @@ bool UltraSparc::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out)
// FIXME: implement the switch instruction in the instruction selector.
PM.add(createLowerSwitchPass());
+
+ // FIXME: implement the invoke/unwind instructions!
+ PM.add(createLowerInvokePass());
// decompose multi-dimensional array references into single-dim refs
PM.add(createDecomposeMultiDimRefsPass());
@@ -234,6 +237,9 @@ bool UltraSparc::addPassesToJITCompile(FunctionPassManager &PM) {
// FIXME: implement the switch instruction in the instruction selector.
PM.add(createLowerSwitchPass());
+ // FIXME: implement the invoke/unwind instructions!
+ PM.add(createLowerInvokePass());
+
// decompose multi-dimensional array references into single-dim refs
PM.add(createDecomposeMultiDimRefsPass());