From: Bill Wendling Date: Wed, 28 Sep 2011 20:29:28 +0000 (+0000) Subject: Ahem...actually *add* the ARMSjLjLowering pass to the pass manager. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=39689c81542df0f40bec72464429b21012708efa;p=oota-llvm.git Ahem...actually *add* the ARMSjLjLowering pass to the pass manager. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140718 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMTargetMachine.cpp b/lib/Target/ARM/ARMTargetMachine.cpp index a75ce264cd3..3010acae0c7 100644 --- a/lib/Target/ARM/ARMTargetMachine.cpp +++ b/lib/Target/ARM/ARMTargetMachine.cpp @@ -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; }