mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 07:41:38 +00:00
Make methods const.
llvm-svn: 177350
This commit is contained in:
parent
89b78a9580
commit
2fe5645a34
@ -46,8 +46,8 @@ class MCAtom {
|
|||||||
: Type(T), Parent(P), Begin(B), End(E) { }
|
: Type(T), Parent(P), Begin(B), End(E) { }
|
||||||
|
|
||||||
public:
|
public:
|
||||||
bool isTextAtom() { return Type == TextAtom; }
|
bool isTextAtom() const { return Type == TextAtom; }
|
||||||
bool isDataAtom() { return Type == DataAtom; }
|
bool isDataAtom() const { return Type == DataAtom; }
|
||||||
|
|
||||||
void addInst(const MCInst &I, uint64_t Address, unsigned Size);
|
void addInst(const MCInst &I, uint64_t Address, unsigned Size);
|
||||||
void addData(const MCData &D);
|
void addData(const MCData &D);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user