aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-01-31 02:19:00 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-01-31 02:19:00 +0000
commit725ad31086e3d6c41afa10c43db44f2e7060a961 (patch)
tree4130964e56dfcb106c1eff998a037feed83e0541 /lib/CodeGen/CodeGenModule.cpp
parentc83c29aec4345632a82b12eb47310a818aa92cdf (diff)
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
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--lib/CodeGen/CodeGenModule.cpp3
1 files changed, 1 insertions, 2 deletions
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()));