Exception handling has been implemented.

llvm-svn: 39732
This commit is contained in:
Duncan Sands 2007-07-11 16:59:20 +00:00
parent 63e92754d0
commit 03b274911f
1 changed files with 2 additions and 3 deletions

View File

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