forked from OSchip/llvm-project
parent
d879dfbf1c
commit
69bd45c1d2
|
@ -33,7 +33,8 @@ LLVMTargetMachine::addPassesToEmitFile(FunctionPassManager &PM,
|
|||
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());
|
||||
|
|
Loading…
Reference in New Issue