summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/Deserialize.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-26 20:59:02 +0000
committerChris Lattner <sabre@nondot.org>2009-04-26 20:59:02 +0000
commit277800a6435e477fc47fa14cb1e0252f3a95c10e (patch)
tree9a7a8c40cf1646e25b8ad2fb771ee9418edef04b /llvm/lib/Bitcode/Reader/Deserialize.cpp
parent64fc3c68e5505d6a958eb6a5c33c2bf2863e5d64 (diff)
Make a major API change to BitstreamReader: split all the reading
state out of the BitstreamReader class into a BitstreamCursor class. Doing this allows the client to have multiple cursors into the same file, each with potentially different live block stacks and abbreviation records. llvm-svn: 70157
Diffstat (limited to 'llvm/lib/Bitcode/Reader/Deserialize.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/Deserialize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/Deserialize.cpp b/llvm/lib/Bitcode/Reader/Deserialize.cpp
index 2014557a1012..06da6ce72721 100644
--- a/llvm/lib/Bitcode/Reader/Deserialize.cpp
+++ b/llvm/lib/Bitcode/Reader/Deserialize.cpp
@@ -22,7 +22,7 @@ using namespace llvm;
Deserializer::Deserializer(BitstreamReader& stream)
: Stream(stream), RecIdx(0), FreeList(NULL), AbbrevNo(0), RecordCode(0) {
- StreamStart = Stream.GetCurrentBitNo();
+ StreamStart = Stream.GetCurrentBitNo();
}
Deserializer::~Deserializer() {