mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Make methods const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177350 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
89c4dc6339
commit
570cae29bc
@ -46,8 +46,8 @@ class MCAtom {
|
||||
: Type(T), Parent(P), Begin(B), End(E) { }
|
||||
|
||||
public:
|
||||
bool isTextAtom() { return Type == TextAtom; }
|
||||
bool isDataAtom() { return Type == DataAtom; }
|
||||
bool isTextAtom() const { return Type == TextAtom; }
|
||||
bool isDataAtom() const { return Type == DataAtom; }
|
||||
|
||||
void addInst(const MCInst &I, uint64_t Address, unsigned Size);
|
||||
void addData(const MCData &D);
|
||||
|
Loading…
Reference in New Issue
Block a user