mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +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() {
|
||||
if (BitsInCurWord != 0)
|
||||
return false;
|
||||
if (Size != 0 && Size == NextChar)
|
||||
return true;
|
||||
if (Size != 0)
|
||||
return Size == NextChar;
|
||||
fillCurWord();
|
||||
return BitsInCurWord == 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user