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:
082ced9
)
Exception handling has been implemented.
author
Duncan Sands
<baldrick@free.fr>
Wed, 11 Jul 2007 16:59:20 +0000
(16:59 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Wed, 11 Jul 2007 16:59:20 +0000
(16:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39732
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 500f0e0941c35bb451117d00fd87f626b7cde698..4e3982df62aa1c9f2d4160e80fa949ef719b74df 100644
(file)
--- a/
lib/CodeGen/LLVMTargetMachine.cpp
+++ b/
lib/CodeGen/LLVMTargetMachine.cpp
@@
-43,11
+43,10
@@
LLVMTargetMachine::addPassesToEmitFile(FunctionPassManager &PM,
// FIXME: Implement efficient support for garbage collection intrinsics.
PM.add(createLowerGCPass());
-
- // FIXME: Implement the invoke/unwind instructions!
+
if (!ExceptionHandling)
PM.add(createLowerInvokePass(getTargetLowering()));
-
+
// Make sure that no unreachable blocks are instruction selected.
PM.add(createUnreachableBlockEliminationPass());