OSDN Git Service
(root)
/
android-x86
/
external-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
c7f50b7
..
d4f3645
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());