From: Preston Gurd Date: Thu, 14 Feb 2013 22:49:29 +0000 (+0000) Subject: Mark getRawBits const. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d0a1e2d8ee8c6fa1cd98561b6c2ec60de9b2a7b;p=platform%2Fupstream%2Fllvm.git Mark getRawBits const. Patch by Tyler Nowicki. llvm-svn: 175218 --- diff --git a/llvm/include/llvm/CodeGen/ValueTypes.h b/llvm/include/llvm/CodeGen/ValueTypes.h index f8a6503..ec48b67 100644 --- a/llvm/include/llvm/CodeGen/ValueTypes.h +++ b/llvm/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