projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47abcf8
)
Make methods const.
author
Jakub Staszak
<kubastaszak@gmail.com>
Mon, 18 Mar 2013 23:33:14 +0000
(23:33 +0000)
committer
Jakub Staszak
<kubastaszak@gmail.com>
Mon, 18 Mar 2013 23:33:14 +0000
(23:33 +0000)
llvm-svn: 177350
llvm/include/llvm/MC/MCAtom.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/MC/MCAtom.h
b/llvm/include/llvm/MC/MCAtom.h
index
682cf7c
..
ae5bf0b
100644
(file)
--- a/
llvm/include/llvm/MC/MCAtom.h
+++ b/
llvm/include/llvm/MC/MCAtom.h
@@
-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);