aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-11 01:10:00 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-11 01:10:00 +0000
commit96a2794ab0122be0cef1f6d388837a3eb05af96a (patch)
tree60999bb86774256563e48495cfdcb49efd64f3e6 /lib/VMCore
parent3183951d88680d6077dbb7a4b0daf84124434f45 (diff)
downloadexternal_llvm-96a2794ab0122be0cef1f6d388837a3eb05af96a.zip
external_llvm-96a2794ab0122be0cef1f6d388837a3eb05af96a.tar.gz
external_llvm-96a2794ab0122be0cef1f6d388837a3eb05af96a.tar.bz2
Add the LLVM context to this c'tor. It will be needed in the future.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/Attributes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Attributes.cpp b/lib/VMCore/Attributes.cpp
index 7ae8232..16c5466 100644
--- a/lib/VMCore/Attributes.cpp
+++ b/lib/VMCore/Attributes.cpp
@@ -29,7 +29,7 @@ using namespace llvm;
Attributes::Attributes(uint64_t Val) : Attrs(Val) {}
-Attributes::Attributes(AttrVal Val)
+Attributes::Attributes(LLVMContext &C, AttrVal Val)
: Attrs(Attributes::get(Attributes::Builder().addAttribute(Val)).Attrs) {}
Attributes::Attributes(AttributesImpl *A) : Attrs(A->Bits) {}