Skip to content

Commit 03b2749

Browse files
Exception handling has been implemented.
llvm-svn: 39732
1 parent 63e9275 commit 03b2749

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/CodeGen/LLVMTargetMachine.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,10 @@ LLVMTargetMachine::addPassesToEmitFile(FunctionPassManager &PM,
4343

4444
// FIXME: Implement efficient support for garbage collection intrinsics.
4545
PM.add(createLowerGCPass());
46-
47-
// FIXME: Implement the invoke/unwind instructions!
46+
4847
if (!ExceptionHandling)
4948
PM.add(createLowerInvokePass(getTargetLowering()));
50-
49+
5150
// Make sure that no unreachable blocks are instruction selected.
5251
PM.add(createUnreachableBlockEliminationPass());
5352

0 commit comments

Comments
 (0)