summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorPawel Wodnicki <pawel@32bitmicro.com>2012-11-22 06:10:56 +0000
committerPawel Wodnicki <pawel@32bitmicro.com>2012-11-22 06:10:56 +0000
commitb5fa2f04f037a5d5caa858daf270f9b7406a7a36 (patch)
treef094dad29211d2b9b0d167deaa5144c6f52c7e72 /lib/CodeGen/CGCall.cpp
parente469f9723e7d6b659dcafa88fe4acaeefd9f5f29 (diff)
downloadclang-b5fa2f04f037a5d5caa858daf270f9b7406a7a36.tar.gz
clang-b5fa2f04f037a5d5caa858daf270f9b7406a7a36.tar.bz2
clang-b5fa2f04f037a5d5caa858daf270f9b7406a7a36.tar.xz
Merging r168355: into the 3.2 release branch.
Update method calls to the new interface re r168354. git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_32@168487 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
-rw-r--r--lib/CodeGen/CGCall.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp
index 4fbf7bfdb0..2d1d152894 100644
--- a/lib/CodeGen/CGCall.cpp
+++ b/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))