mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 20:26:07 +00:00
Silenced a VC++ warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43276 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -385,7 +385,7 @@ public:
|
|||||||
BitCodeAbbrev *Abbv = new BitCodeAbbrev();
|
BitCodeAbbrev *Abbv = new BitCodeAbbrev();
|
||||||
unsigned NumOpInfo = ReadVBR(5);
|
unsigned NumOpInfo = ReadVBR(5);
|
||||||
for (unsigned i = 0; i != NumOpInfo; ++i) {
|
for (unsigned i = 0; i != NumOpInfo; ++i) {
|
||||||
bool IsLiteral = Read(1);
|
bool IsLiteral = Read(1) ? true : false;
|
||||||
if (IsLiteral) {
|
if (IsLiteral) {
|
||||||
Abbv->Add(BitCodeAbbrevOp(ReadVBR64(8)));
|
Abbv->Add(BitCodeAbbrevOp(ReadVBR64(8)));
|
||||||
continue;
|
continue;
|
||||||
|
@@ -70,7 +70,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint64_t ReadInt(unsigned bits = 32);
|
uint64_t ReadInt(unsigned bits = 32);
|
||||||
bool ReadBool() { return ReadInt(1); }
|
bool ReadBool() { return ReadInt(1) ? true : false; }
|
||||||
|
|
||||||
// FIXME: Substitute a better implementation which calculates the minimum
|
// FIXME: Substitute a better implementation which calculates the minimum
|
||||||
// number of bits needed to serialize the enum.
|
// number of bits needed to serialize the enum.
|
||||||
|
Reference in New Issue
Block a user