From 39689c81542df0f40bec72464429b21012708efa Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 28 Sep 2011 20:29:28 +0000 Subject: 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 --- lib/Target/ARM/ARMTargetMachine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Target/ARM/ARMTargetMachine.cpp b/lib/Target/ARM/ARMTargetMachine.cpp index a75ce264cd..3010acae0c 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; } -- cgit v1.2.3