mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
The Index field of an AttributeWithIndex is of type unsigned, not uint16_t.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58908 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e0f4af3b49
commit
d9afb4d08a
@ -439,9 +439,9 @@ namespace {
|
||||
Out << "SmallVector<AttributeWithIndex, 4> Attrs;"; nl(Out);
|
||||
Out << "AttributeWithIndex PAWI;"; nl(Out);
|
||||
for (unsigned i = 0; i < PAL.getNumSlots(); ++i) {
|
||||
uint16_t index = PAL.getSlot(i).Index;
|
||||
unsigned index = PAL.getSlot(i).Index;
|
||||
Attributes attrs = PAL.getSlot(i).Attrs;
|
||||
Out << "PAWI.Index = " << index << "; PAWI.Attrs = 0 ";
|
||||
Out << "PAWI.Index = " << index << "U; PAWI.Attrs = 0 ";
|
||||
if (attrs & Attribute::SExt)
|
||||
Out << " | Attribute::SExt";
|
||||
if (attrs & Attribute::ZExt)
|
||||
|
Loading…
x
Reference in New Issue
Block a user