projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d48538
)
Use exception flag.
author
Jim Laskey
<jlaskey@mac.com>
Thu, 22 Feb 2007 16:22:15 +0000
(16:22 +0000)
committer
Jim Laskey
<jlaskey@mac.com>
Thu, 22 Feb 2007 16:22:15 +0000
(16:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34496
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LLVMTargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LLVMTargetMachine.cpp
b/lib/CodeGen/LLVMTargetMachine.cpp
index c7f50b72534d186e2b3eb6e84d9fa329206a541f..d4f3645d7569d11bd4a89b7c19951e3e611c85de 100644
(file)
--- a/
lib/CodeGen/LLVMTargetMachine.cpp
+++ b/
lib/CodeGen/LLVMTargetMachine.cpp
@@
-33,7
+33,8
@@
LLVMTargetMachine::addPassesToEmitFile(FunctionPassManager &PM,
PM.add(createLowerGCPass());
// FIXME: Implement the invoke/unwind instructions!
- PM.add(createLowerInvokePass(getTargetLowering()));
+ if (!ExceptionHandling)
+ PM.add(createLowerInvokePass(getTargetLowering()));
// Make sure that no unreachable blocks are instruction selected.
PM.add(createUnreachableBlockEliminationPass());