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());



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to