Exception handling has been implemented.
authorDuncan Sands <baldrick@free.fr>
Wed, 11 Jul 2007 16:59:20 +0000 (16:59 +0000)
committerDuncan 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

index 500f0e0941c35bb451117d00fd87f626b7cde698..4e3982df62aa1c9f2d4160e80fa949ef719b74df 100644 (file)
@@ -43,11 +43,10 @@ LLVMTargetMachine::addPassesToEmitFile(FunctionPassManager &PM,
   
   // FIXME: Implement efficient support for garbage collection intrinsics.
   PM.add(createLowerGCPass());
   
   // FIXME: Implement efficient support for garbage collection intrinsics.
   PM.add(createLowerGCPass());
-  
-  // FIXME: Implement the invoke/unwind instructions!
+
   if (!ExceptionHandling)
     PM.add(createLowerInvokePass(getTargetLowering()));
   if (!ExceptionHandling)
     PM.add(createLowerInvokePass(getTargetLowering()));
-  
+
   // Make sure that no unreachable blocks are instruction selected.
   PM.add(createUnreachableBlockEliminationPass());
 
   // Make sure that no unreachable blocks are instruction selected.
   PM.add(createUnreachableBlockEliminationPass());