diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-11-30 22:45:05 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-11-30 22:45:05 +0000 |
commit | f64903b7d87d9bdb8300205674d754d6bf207eb7 (patch) | |
tree | 70e322edd5f8fe2e643067877f413d024e848a5f /include/llvm/Bitcode/Deserialize.h | |
parent | 2a2a496aacd53aeb02dbf654f7e7c59de301c8c2 (diff) |
Fixed subtle bug in Deserializer::JumpTo when jumping when the block-nesting
information matching did not exactly match the underlying stream's scoping
information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode/Deserialize.h')
-rw-r--r-- | include/llvm/Bitcode/Deserialize.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Bitcode/Deserialize.h b/include/llvm/Bitcode/Deserialize.h index 9b84c8ed45..430100ee28 100644 --- a/include/llvm/Bitcode/Deserialize.h +++ b/include/llvm/Bitcode/Deserialize.h @@ -125,7 +125,7 @@ private: llvm::SmallVector<Location,8> BlockStack; unsigned AbbrevNo; unsigned RecordCode; - Location StreamStart; + uint64_t StreamStart; //===----------------------------------------------------------===// // Public Interface. @@ -348,7 +348,7 @@ public: bool FinishedBlock(Location BlockLoc); bool JumpTo(const Location& BlockLoc); - void Rewind() { JumpTo(StreamStart); } + void Rewind(); bool AtEnd(); bool inRecord(); |