projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbe483c
)
Mark getRawBits const.
author
Preston Gurd
<preston.gurd@intel.com>
Thu, 14 Feb 2013 22:49:29 +0000
(22:49 +0000)
committer
Preston Gurd
<preston.gurd@intel.com>
Thu, 14 Feb 2013 22:49:29 +0000
(22:49 +0000)
Patch by Tyler Nowicki.
llvm-svn: 175218
llvm/include/llvm/CodeGen/ValueTypes.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/CodeGen/ValueTypes.h
b/llvm/include/llvm/CodeGen/ValueTypes.h
index
f8a6503
..
ec48b67
100644
(file)
--- 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