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
This commit is contained in:
Richard Smith
2015-02-13 21:05:11 +00:00
parent e1e4a2d310
commit 7b408025fd
2 changed files with 5 additions and 5 deletions

View File

@@ -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