projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a43b35
)
This is the correct version of r174802.
author
Chris Lattner
<sabre@nondot.org>
Sat, 9 Feb 2013 07:37:59 +0000
(07:37 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 9 Feb 2013 07:37:59 +0000
(07:37 +0000)
llvm-svn: 174804
llvm/include/llvm/Bitcode/BitstreamReader.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Bitcode/BitstreamReader.h
b/llvm/include/llvm/Bitcode/BitstreamReader.h
index
dabee54
..
dfbb5e2
100644
(file)
--- a/
llvm/include/llvm/Bitcode/BitstreamReader.h
+++ b/
llvm/include/llvm/Bitcode/BitstreamReader.h
@@
-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);
@@
-440,7
+440,7
@@
private:
// 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.
if (sizeof(word_t) > 4 &&
- BitsInCurWord > 32) {
+ BitsInCurWord >
=
32) {
CurWord >>= BitsInCurWord-32;
BitsInCurWord = 32;
return;