mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Small optimization: once the size is know, we don't have to call fillCurWord.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221891 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dbe68adeb2
commit
a9fbbb48bc
@ -227,8 +227,8 @@ public:
|
|||||||
bool AtEndOfStream() {
|
bool AtEndOfStream() {
|
||||||
if (BitsInCurWord != 0)
|
if (BitsInCurWord != 0)
|
||||||
return false;
|
return false;
|
||||||
if (Size != 0 && Size == NextChar)
|
if (Size != 0)
|
||||||
return true;
|
return Size == NextChar;
|
||||||
fillCurWord();
|
fillCurWord();
|
||||||
return BitsInCurWord == 0;
|
return BitsInCurWord == 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user