diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-02-13 21:05:11 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-02-13 21:05:11 +0000 |
commit | 7b408025fd77dc4a1369d178536bd44d7e15fb05 (patch) | |
tree | 3c8b04ca62a156872d6f40e7553c7718b1ad3f5b /llvm/lib/Bitcode/Reader/BitstreamReader.cpp | |
parent | e1e4a2d3101101a2b0ebc41ff5f3b6ffadbd4d24 (diff) | |
download | bcm5719-llvm-7b408025fd77dc4a1369d178536bd44d7e15fb05.tar.gz bcm5719-llvm-7b408025fd77dc4a1369d178536bd44d7e15fb05.zip |
Clean up some inappropriate choices of type in the bitcode reader. None of
these are expected to fix any 64->32 bit real truncation issues.
llvm-svn: 229153
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitstreamReader.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitstreamReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitstreamReader.cpp b/llvm/lib/Bitcode/Reader/BitstreamReader.cpp index 9d5fab9147a..ca68257c731 100644 --- a/llvm/lib/Bitcode/Reader/BitstreamReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitstreamReader.cpp @@ -253,7 +253,7 @@ void BitstreamCursor::ReadAbbrevRecord() { BitCodeAbbrevOp::Encoding E = (BitCodeAbbrevOp::Encoding)Read(3); if (BitCodeAbbrevOp::hasEncodingData(E)) { - unsigned Data = ReadVBR64(5); + uint64_t Data = ReadVBR64(5); // As a special case, handle fixed(0) (i.e., a fixed field with zero bits) // and vbr(0) as a literal zero. This is decoded the same way, and avoids |