Redirect DataLayout from TargetMachine to Module in SjLjEHPrepare
[oota-llvm.git] / include / llvm / CodeGen / Passes.h
index ecf679f0ca04ab5eec5450f5c9fbb15fb079549d..5d829217447625dde566c007f6b0c5c98ec63c7c 100644 (file)
@@ -605,7 +605,7 @@ namespace llvm {
   /// createSjLjEHPreparePass - This pass adapts exception handling code to use
   /// the GCC-style builtin setjmp/longjmp (sjlj) to handling EH control flow.
   ///
-  FunctionPass *createSjLjEHPreparePass(const TargetMachine *TM);
+  FunctionPass *createSjLjEHPreparePass();
 
   /// LocalStackSlotAllocation - This pass assigns local frame indices to stack
   /// slots relative to one another and allocates base registers to access them