mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
This is the correct version of r174802.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174804 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a32bd682a0
commit
db5e50ddaf
@ -334,7 +334,7 @@ public:
|
|||||||
|
|
||||||
// Skip over any bits that are already consumed.
|
// Skip over any bits that are already consumed.
|
||||||
if (WordBitNo) {
|
if (WordBitNo) {
|
||||||
if (sizeof(word_t) >= 4)
|
if (sizeof(word_t) > 4)
|
||||||
Read64(WordBitNo);
|
Read64(WordBitNo);
|
||||||
else
|
else
|
||||||
Read(WordBitNo);
|
Read(WordBitNo);
|
||||||
@ -440,7 +440,7 @@ private:
|
|||||||
// If word_t is 64-bits and if we've read less than 32 bits, just dump
|
// If word_t is 64-bits and if we've read less than 32 bits, just dump
|
||||||
// the bits we have up to the next 32-bit boundary.
|
// the bits we have up to the next 32-bit boundary.
|
||||||
if (sizeof(word_t) > 4 &&
|
if (sizeof(word_t) > 4 &&
|
||||||
BitsInCurWord > 32) {
|
BitsInCurWord >= 32) {
|
||||||
CurWord >>= BitsInCurWord-32;
|
CurWord >>= BitsInCurWord-32;
|
||||||
BitsInCurWord = 32;
|
BitsInCurWord = 32;
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user