Mark getRawBits const.

Patch by Tyler Nowicki.

llvm-svn: 175218
This commit is contained in:
Preston Gurd 2013-02-14 22:49:29 +00:00
parent dbe483c80d
commit 9d0a1e2d8e
1 changed files with 1 additions and 1 deletions

View File

@ -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