[llvm-commits] CVS: llvm/lib/CodeGen/LLVMTargetMachine.cpp

Jim Laskey jlaskey at apple.com
Thu Feb 22 08:22:32 PST 2007



Changes in directory llvm/lib/CodeGen:

LLVMTargetMachine.cpp updated: 1.8 -> 1.9
---
Log message:

Use exception  flag.

---
Diffs of the changes:  (+2 -1)

 LLVMTargetMachine.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff -u llvm/lib/CodeGen/LLVMTargetMachine.cpp:1.8 llvm/lib/CodeGen/LLVMTargetMachine.cpp:1.9
--- llvm/lib/CodeGen/LLVMTargetMachine.cpp:1.8	Wed Feb  7 19:36:53 2007
+++ llvm/lib/CodeGen/LLVMTargetMachine.cpp	Thu Feb 22 10:22:15 2007
@@ -33,7 +33,8 @@
   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());






More information about the llvm-commits mailing list