mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-14 09:38:40 +00:00
Add a AttributeSetImpl::dump function.
This is for the benefit of those of us with inferior debuggers which do not permit member function calls on value types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187685 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7bba9c5c0a
commit
40bacacad3
@ -258,6 +258,8 @@ public:
|
|||||||
|
|
||||||
// FIXME: This atrocity is temporary.
|
// FIXME: This atrocity is temporary.
|
||||||
uint64_t Raw(unsigned Index) const;
|
uint64_t Raw(unsigned Index) const;
|
||||||
|
|
||||||
|
void dump() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // end llvm namespace
|
} // end llvm namespace
|
||||||
|
@ -508,6 +508,10 @@ uint64_t AttributeSetImpl::Raw(unsigned Index) const {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void AttributeSetImpl::dump() const {
|
||||||
|
AttributeSet(const_cast<AttributeSetImpl *>(this)).dump();
|
||||||
|
}
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// AttributeSet Construction and Mutation Methods
|
// AttributeSet Construction and Mutation Methods
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user