mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
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
This commit is contained in:
parent
3183951d88
commit
96a2794ab0
@ -95,7 +95,7 @@ private:
|
|||||||
public:
|
public:
|
||||||
Attributes() : Attrs(0) {}
|
Attributes() : Attrs(0) {}
|
||||||
explicit Attributes(uint64_t Val);
|
explicit Attributes(uint64_t Val);
|
||||||
explicit Attributes(AttrVal Val);
|
explicit Attributes(LLVMContext &C, AttrVal Val);
|
||||||
Attributes(const Attributes &A);
|
Attributes(const Attributes &A);
|
||||||
|
|
||||||
class Builder {
|
class Builder {
|
||||||
|
@ -29,7 +29,7 @@ using namespace llvm;
|
|||||||
|
|
||||||
Attributes::Attributes(uint64_t Val) : Attrs(Val) {}
|
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) {}
|
: Attrs(Attributes::get(Attributes::Builder().addAttribute(Val)).Attrs) {}
|
||||||
|
|
||||||
Attributes::Attributes(AttributesImpl *A) : Attrs(A->Bits) {}
|
Attributes::Attributes(AttributesImpl *A) : Attrs(A->Bits) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user