mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
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
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user