projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IntegerValType holds a uint32_t, so its constructor should take a uint32_t. This...
[oota-llvm.git]
/
lib
/
VMCore
/
TypesContext.h
diff --git
a/lib/VMCore/TypesContext.h
b/lib/VMCore/TypesContext.h
index 7419b0e894558777c20072dbd97c27ea567187f3..484284551fa794bd5a3e1011f5c07aaf9cbf1e5c 100644
(file)
--- a/
lib/VMCore/TypesContext.h
+++ b/
lib/VMCore/TypesContext.h
@@
-68,7
+68,7
@@
static unsigned getSubElementHash(const Type *Ty) {
class IntegerValType {
uint32_t bits;
public:
- IntegerValType(uint
16
_t numbits) : bits(numbits) {}
+ IntegerValType(uint
32
_t numbits) : bits(numbits) {}
static IntegerValType get(const IntegerType *Ty) {
return IntegerValType(Ty->getBitWidth());