forked from OSchip/llvm-project
Mark getRawBits const.
Patch by Tyler Nowicki. llvm-svn: 175218
This commit is contained in:
parent
dbe483c80d
commit
9d0a1e2d8e
|
@ -827,7 +827,7 @@ namespace llvm {
|
||||||
/// types are returned as Other, otherwise they are invalid.
|
/// types are returned as Other, otherwise they are invalid.
|
||||||
static EVT getEVT(Type *Ty, bool HandleUnknown = false);
|
static EVT getEVT(Type *Ty, bool HandleUnknown = false);
|
||||||
|
|
||||||
intptr_t getRawBits() {
|
intptr_t getRawBits() const {
|
||||||
if (isSimple())
|
if (isSimple())
|
||||||
return V.SimpleTy;
|
return V.SimpleTy;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue