aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-13 00:12:29 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-13 00:12:29 +0000
commit062f0360eda582d1312a20139c864bf0c109dd68 (patch)
treeff02689600707df23916d87a8997298ae5aa13af
parent790366be6dbffc02533e84477757eda096a8f82d (diff)
Make sure the IntegerValType has enough space for 2^23 bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33168 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/Type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp
index b70cd5f431..e03d9a7887 100644
--- a/lib/VMCore/Type.cpp
+++ b/lib/VMCore/Type.cpp
@@ -929,7 +929,7 @@ public:
//
namespace llvm {
class IntegerValType {
- uint16_t bits;
+ uint32_t bits;
public:
IntegerValType(uint16_t numbits) : bits(numbits) {}