Fix a nasty off-by one error that only manifests with 64-bit word size (which is

not enabled yet).

llvm-svn: 174803
This commit is contained in:
Chris Lattner 2013-02-09 07:37:26 +00:00
parent 7ee25676a5
commit 1a43b350c4
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ public:
// Skip over any bits that are already consumed.
if (WordBitNo) {
if (sizeof(word_t) > 4)
if (sizeof(word_t) >= 4)
Read64(WordBitNo);
else
Read(WordBitNo);