diff options
author | Preston Gurd <preston.gurd@intel.com> | 2013-02-14 22:49:29 +0000 |
---|---|---|
committer | Preston Gurd <preston.gurd@intel.com> | 2013-02-14 22:49:29 +0000 |
commit | e2e00dffdf4512d948daf74257d6f012362b44c9 (patch) | |
tree | c744a8fe5b623099846adbf6c2826ebf9c0f14d5 | |
parent | 97a241b173a1413df5a93fdd891ddfac36dabad9 (diff) |
Mark getRawBits const.
Patch by Tyler Nowicki.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175218 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/ValueTypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/ValueTypes.h b/include/llvm/CodeGen/ValueTypes.h index f8a6503f23..ec48b67b99 100644 --- a/include/llvm/CodeGen/ValueTypes.h +++ b/include/llvm/CodeGen/ValueTypes.h @@ -827,7 +827,7 @@ namespace llvm { /// types are returned as Other, otherwise they are invalid. static EVT getEVT(Type *Ty, bool HandleUnknown = false); - intptr_t getRawBits() { + intptr_t getRawBits() const { if (isSimple()) return V.SimpleTy; else |