summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-10-29 00:22:16 +0000
committerBill Wendling <isanbard@gmail.com>2009-10-29 00:22:16 +0000
commita8eceedb82945e9c043e8160307dd66a6b866407 (patch)
tree83c16016ec8a1da55d38685539f10de851a03b6b /llvm/lib/CodeGen/LLVMTargetMachine.cpp
parentedc56ef41ccdcf5017c2673026e58a1cf313ff93 (diff)
downloadbcm5719-llvm-a8eceedb82945e9c043e8160307dd66a6b866407.tar.gz
bcm5719-llvm-a8eceedb82945e9c043e8160307dd66a6b866407.zip
Reverting r85338 for now. It's causing a bootstrap failure on PPC darwin9.
--- Reverse-merging r85338 into '.': U lib/CodeGen/SimpleRegisterCoalescing.cpp U lib/CodeGen/SimpleRegisterCoalescing.h llvm-svn: 85454
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r--llvm/lib/CodeGen/LLVMTargetMachine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
index e58a9ca82c6..1000b2e3809 100644
--- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
@@ -239,11 +239,11 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM,
{
case ExceptionHandling::SjLj:
// SjLj piggy-backs on dwarf for this bit. The cleanups done apply to both
- PM.add(createDwarfEHPass(getTargetLowering(), OptLevel==CodeGenOpt::None));
+ PM.add(createDwarfEHPass(getTargetLowering()));
PM.add(createSjLjEHPass(getTargetLowering()));
break;
case ExceptionHandling::Dwarf:
- PM.add(createDwarfEHPass(getTargetLowering(), OptLevel==CodeGenOpt::None));
+ PM.add(createDwarfEHPass(getTargetLowering()));
break;
case ExceptionHandling::None:
PM.add(createLowerInvokePass(getTargetLowering()));
OpenPOWER on IntegriCloud