[llvm] r175218 - Mark getRawBits const.
Preston Gurd
preston.gurd at intel.com
Thu Feb 14 14:49:30 PST 2013
Author: pgurd
Date: Thu Feb 14 16:49:29 2013
New Revision: 175218
URL: http://llvm.org/viewvc/llvm-project?rev=175218&view=rev
Log:
Mark getRawBits const.
Patch by Tyler Nowicki.
Modified:
llvm/trunk/include/llvm/CodeGen/ValueTypes.h
Modified: llvm/trunk/include/llvm/CodeGen/ValueTypes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/ValueTypes.h?rev=175218&r1=175217&r2=175218&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/ValueTypes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/ValueTypes.h Thu Feb 14 16:49:29 2013
@@ -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
More information about the llvm-commits
mailing list