s/SjLjEHPass/SjLjEHPrepare/
[oota-llvm.git] / lib / CodeGen / LLVMTargetMachine.cpp
index 17633e2114dcc59646960623d817d8786bba33fd..97e654775a22f6677b39273fac06a7bddcce46af 100644 (file)
@@ -90,7 +90,7 @@ static void addPassesToHandleExceptions(TargetMachine *TM,
     // removed from the parent invoke(s). This could happen when a landing
     // pad is shared by multiple invokes and is also a target of a normal
     // edge from elsewhere.
-    PM.add(createSjLjEHPass(TM->getTargetLowering()));
+    PM.add(createSjLjEHPreparePass(TM->getTargetLowering()));
     // FALLTHROUGH
   case ExceptionHandling::DwarfCFI:
   case ExceptionHandling::ARM: