projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b24f5b7
)
Fix a nasty off-by one error that only manifests with 64-bit word size (which is
author
Chris Lattner
<sabre@nondot.org>
Sat, 9 Feb 2013 07:37:26 +0000
(07:37 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 9 Feb 2013 07:37:26 +0000
(07:37 +0000)
not enabled yet).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174803
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Bitcode/BitstreamReader.h
patch
|
blob
|
history
diff --git
a/include/llvm/Bitcode/BitstreamReader.h
b/include/llvm/Bitcode/BitstreamReader.h
index 56a610883bcab133fe508413450b6c65720b3a21..dabee5473279b245ac1509a311da13940e6fce1c 100644
(file)
--- a/
include/llvm/Bitcode/BitstreamReader.h
+++ b/
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);