summaryrefslogtreecommitdiffstats
path: root/clang/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
commit3cd20632ff20fe85d00e2f0d591b5c517e85abf3 (patch)
tree2516df7b663f636198371cc35d8d853fd2455e76 /clang/lib/CodeGen/CodeGenModule.cpp
parenta377abfe26dc0957ae184f9545d92e01623c08fd (diff)
downloadbcm5719-llvm-3cd20632ff20fe85d00e2f0d591b5c517e85abf3.tar.gz
bcm5719-llvm-3cd20632ff20fe85d00e2f0d591b5c517e85abf3.zip
Kill off CGCallInfo, always use CGFunctionInfo for encapsulating
function/call info. llvm-svn: 63466
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 6e1321f4d6c..bdb99d6439b 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/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()));
OpenPOWER on IntegriCloud