summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-09-10 00:41:16 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-09-10 00:41:16 +0000
commitc68897d2c30d1fa8648b31c592c55b86368d16d5 (patch)
tree8f0b34d09d511ebeaf1eca7be891d0733aa2c4cf /clang/lib/CodeGen/CodeGenModule.cpp
parent76c8eb75b1f36646ff163e64f9f5f406494695a0 (diff)
downloadbcm5719-llvm-c68897d2c30d1fa8648b31c592c55b86368d16d5.tar.gz
bcm5719-llvm-c68897d2c30d1fa8648b31c592c55b86368d16d5.zip
Tweak CGCall functions again:
- Realized these functions will eventually need access to more data, moved to CodeGenModule. Eventually they should probably live together in some other helper class. llvm-svn: 56039
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 9f7b9772761..e5acc505f5b 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -212,12 +212,12 @@ static void SetGlobalValueAttributes(const Decl *D,
}
}
-static void SetFunctionParamAttrs(const CGFunctionInfo &Info, llvm::Function *F) {
+void CodeGenModule::SetFunctionParamAttrs(const CGFunctionInfo &Info,
+ llvm::Function *F) {
ParamAttrListType ParamAttrList;
- CodeGenFunction::ConstructParamAttrList(Info.getDecl(),
- Info.argtypes_begin(),
- Info.argtypes_end(),
- ParamAttrList);
+ ConstructParamAttrList(Info.getDecl(),
+ Info.argtypes_begin(), Info.argtypes_end(),
+ ParamAttrList);
F->setParamAttrs(llvm::PAListPtr::get(ParamAttrList.begin(),
ParamAttrList.size()));
OpenPOWER on IntegriCloud