mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-11 00:39:36 +00:00
we aren't at the end of stream until we've consumed all the bytes AND all
the bits in those bytes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36861 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
11d8fdaf6a
commit
9850b57587
@ -101,7 +101,9 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
bool AtEndOfStream() const { return NextChar == LastChar; }
|
||||
bool AtEndOfStream() const {
|
||||
return NextChar == LastChar && BitsInCurWord == 0;
|
||||
}
|
||||
|
||||
/// GetCurrentBitNo - Return the bit # of the bit we are reading.
|
||||
uint64_t GetCurrentBitNo() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user