CanLowerReturn doesn't need a SelectionDAG; it just needs an LLVMContext.
[oota-llvm.git] / include / llvm / Target / TargetLowering.h
index 497a025d534d27ef460878fc7005f39b333aad8a..6216e5c7ea0a6f61217d27e653a60b570084690b 100644 (file)
@@ -1158,7 +1158,7 @@ public:
   virtual bool CanLowerReturn(CallingConv::ID CallConv, bool isVarArg,
                const SmallVectorImpl<EVT> &OutTys,
                const SmallVectorImpl<ISD::ArgFlagsTy> &ArgsFlags,
-               SelectionDAG &DAG) const
+               LLVMContext &Context) const
   {
     // Return true by default to get preexisting behavior.
     return true;