Ahem...actually *add* the ARMSjLjLowering pass to the pass manager.

llvm-svn: 140718
This commit is contained in:
Bill Wendling 2011-09-28 20:29:28 +00:00
parent 600ba208ab
commit dfe5acd34e
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ bool ARMBaseTargetMachine::addPreRegAlloc(PassManagerBase &PM,
if (OptLevel != CodeGenOpt::None && Subtarget.isCortexA9())
PM.add(createMLxExpansionPass());
if (getMCAsmInfo()->getExceptionHandlingType() == ExceptionHandling::SjLj)
createARMSjLjLoweringPass();
PM.add(createARMSjLjLoweringPass());
return true;
}