diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-10-29 00:37:35 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-10-29 00:37:35 +0000 |
commit | 3505c949239067733542822edf257a10524ee1cc (patch) | |
tree | 1f8daad88eed0aed1d429da2c064d554d76c7236 /llvm/lib/CodeGen/LLVMTargetMachine.cpp | |
parent | a6f3e7edebc1a2dc467bc066c9f0ab21998ead2e (diff) | |
download | bcm5719-llvm-3505c949239067733542822edf257a10524ee1cc.tar.gz bcm5719-llvm-3505c949239067733542822edf257a10524ee1cc.zip |
Don't put in these EH changes.
llvm-svn: 85460
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index 1000b2e3809..e58a9ca82c6 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())); + PM.add(createDwarfEHPass(getTargetLowering(), OptLevel==CodeGenOpt::None)); PM.add(createSjLjEHPass(getTargetLowering())); break; case ExceptionHandling::Dwarf: - PM.add(createDwarfEHPass(getTargetLowering())); + PM.add(createDwarfEHPass(getTargetLowering(), OptLevel==CodeGenOpt::None)); break; case ExceptionHandling::None: PM.add(createLowerInvokePass(getTargetLowering())); |