diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-11 01:10:00 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-11 01:10:00 +0000 |
commit | 9d7ba8da4703cfeee1729867e423f96fb691c3b4 (patch) | |
tree | 97bf7d2c709af7aa0f7510e593449a62da2d6e45 /llvm/lib | |
parent | 13410278b6263806b6eb2a836699700d284f4fca (diff) | |
download | bcm5719-llvm-9d7ba8da4703cfeee1729867e423f96fb691c3b4.tar.gz bcm5719-llvm-9d7ba8da4703cfeee1729867e423f96fb691c3b4.zip |
Add the LLVM context to this c'tor. It will be needed in the future.
llvm-svn: 165687
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/VMCore/Attributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Attributes.cpp b/llvm/lib/VMCore/Attributes.cpp index 7ae823214bb..16c5466f173 100644 --- a/llvm/lib/VMCore/Attributes.cpp +++ b/llvm/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) {} |