From 725ad31086e3d6c41afa10c43db44f2e7060a961 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 31 Jan 2009 02:19:00 +0000 Subject: Kill off CGCallInfo, always use CGFunctionInfo for encapsulating function/call info. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63466 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/CodeGen/CodeGenModule.cpp') diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index 6e1321f4d6..bdb99d6439 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -265,8 +265,7 @@ void CodeGenModule::SetFunctionAttributes(const Decl *D, const CGFunctionInfo &Info, llvm::Function *F) { AttributeListType AttributeList; - ConstructAttributeList(D, Info.argtypes_begin(), Info.argtypes_end(), - AttributeList); + ConstructAttributeList(D, Info, AttributeList); F->setAttributes(llvm::AttrListPtr::get(AttributeList.begin(), AttributeList.size())); -- cgit v1.2.3-18-g5258