summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-11-20 05:09:43 +0000
committerBill Wendling <isanbard@gmail.com>2012-11-20 05:09:43 +0000
commit0a154d0490aac84ba69709c44c3c7f5f3dae03cf (patch)
tree835e5852e1bcd16ca4a49b7d9e7d25809de13a0d /clang/lib/CodeGen/CGCall.cpp
parentf86efb9b98faf36e1038a34327df2bdeea95f19a (diff)
downloadbcm5719-llvm-0a154d0490aac84ba69709c44c3c7f5f3dae03cf.tar.gz
bcm5719-llvm-0a154d0490aac84ba69709c44c3c7f5f3dae03cf.zip
Update method calls to the new interface re r168354.
llvm-svn: 168355
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r--clang/lib/CodeGen/CGCall.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index 4fbf7bfdb02..2d1d152894f 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/lib/CodeGen/CGCall.cpp
@@ -2177,7 +2177,8 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo,
unsigned CallingConv;
CodeGen::AttributeListType AttributeList;
CGM.ConstructAttributeList(CallInfo, TargetDecl, AttributeList, CallingConv);
- llvm::AttrListPtr Attrs = llvm::AttrListPtr::get(AttributeList);
+ llvm::AttrListPtr Attrs = llvm::AttrListPtr::get(getLLVMContext(),
+ AttributeList);
llvm::BasicBlock *InvokeDest = 0;
if (!Attrs.getFnAttributes().hasAttribute(llvm::Attributes::NoUnwind))
OpenPOWER on IntegriCloud