Add logic to align instruction operands to columns for pretty-printing.
[oota-llvm.git] / include / llvm / Bitcode / Deserialize.h
index cc85d9fb5e896776cd4aaea7762fe2df9f9248b2..3e90227591a5cdb38df1c21d54ac94de2312ec52 100644 (file)
@@ -116,7 +116,7 @@ public:
   //===----------------------------------------------------------===//
 
 private:
-  BitstreamReader& Stream;
+  BitstreamCursor Stream;
   SmallVector<uint64_t,20> Record;
   unsigned RecIdx;
   BumpPtrAllocator Allocator;
@@ -482,7 +482,7 @@ public:
 
   unsigned getRecordCode();
 
-  BitstreamReader& getStream() { return Stream; }
+  BitstreamCursor &getStream() { return Stream; }
 
 private:
   bool AdvanceStream();