mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
Add constructors to the attribute builder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164762 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e2d02349c3
commit
37d3ef3140
@ -154,6 +154,9 @@ public:
|
||||
friend class Attributes;
|
||||
uint64_t Bits;
|
||||
public:
|
||||
Builder() : Bits(0) {}
|
||||
Builder(const Attributes &A) : Bits(A.Bits) {}
|
||||
|
||||
void addZExtAttr() {
|
||||
Bits |= Attribute::ZExt_i;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user