[llvm-commits] [llvm] r140718 - /llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp

Bill Wendling isanbard at gmail.com
Wed Sep 28 13:29:28 PDT 2011


Author: void
Date: Wed Sep 28 15:29:28 2011
New Revision: 140718

URL: http://llvm.org/viewvc/llvm-project?rev=140718&view=rev
Log:
Ahem...actually *add* the ARMSjLjLowering pass to the pass manager.

Modified:
    llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp?rev=140718&r1=140717&r2=140718&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMTargetMachine.cpp Wed Sep 28 15:29:28 2011
@@ -109,7 +109,7 @@
   if (OptLevel != CodeGenOpt::None && Subtarget.isCortexA9())
     PM.add(createMLxExpansionPass());
   if (getMCAsmInfo()->getExceptionHandlingType() == ExceptionHandling::SjLj)
-    createARMSjLjLoweringPass();
+    PM.add(createARMSjLjLoweringPass());
   return true;
 }
 





More information about the llvm-commits mailing list