projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97a241b
)
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175218
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/ValueTypes.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/ValueTypes.h
b/include/llvm/CodeGen/ValueTypes.h
index f8a6503f237e587a92c378d1ad211505a8a3ff77..ec48b67b993c2c552b0b3e546d40d5744c265f9f 100644
(file)
--- 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