Redirect DataLayout from TargetMachine to Module in ComputeValueVTs()
[oota-llvm.git] / include / llvm / Target / TargetLowering.h
index 424dd20b3284893e3eecf465c07fbbb42c9ce4bb..10a6b73e1804931bfbf7e60e7df777106e60e562 100644 (file)
@@ -2819,9 +2819,9 @@ public:
 /// Given an LLVM IR type and return type attributes, compute the return value
 /// EVTs and flags, and optionally also the offsets, if the return value is
 /// being lowered to memory.
-void GetReturnInfo(TypeReturnType, AttributeSet attr,
+void GetReturnInfo(Type *ReturnType, AttributeSet attr,
                    SmallVectorImpl<ISD::OutputArg> &Outs,
-                   const TargetLowering &TLI);
+                   const TargetLowering &TLI, const DataLayout &DL);
 
 } // end llvm namespace