projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cddbb83
)
Fixed potential bug where CurWord is not zeroed out in JumpToBit.
author
Ted Kremenek
<kremenek@apple.com>
Fri, 30 Nov 2007 22:39:46 +0000
(22:39 +0000)
committer
Ted Kremenek
<kremenek@apple.com>
Fri, 30 Nov 2007 22:39:46 +0000
(22:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44469
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 18b1979cb5e9a46e642086b32d41d52f6c3f34d6..d06b46604baf4b7eb04a9805aadfa097a99335fe 100644
(file)
--- a/
include/llvm/Bitcode/BitstreamReader.h
+++ b/
include/llvm/Bitcode/BitstreamReader.h
@@
-122,6
+122,7
@@
public:
// Move the cursor to the right word.
NextChar = FirstChar+ByteNo;
BitsInCurWord = 0;
+ CurWord = 0;
// Skip over any bits that are already consumed.
if (WordBitNo) {