mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Serializer no longer automatically emits a root-level block in the bitstream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43784 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b12a82dbf4
commit
68dd3fbe5b
@ -31,8 +31,7 @@ class Serializer {
|
||||
MapTy PtrMap;
|
||||
|
||||
public:
|
||||
Serializer(BitstreamWriter& stream, unsigned BlockID = 8);
|
||||
|
||||
Serializer(BitstreamWriter& stream);
|
||||
~Serializer();
|
||||
|
||||
template <typename T>
|
||||
|
@ -16,12 +16,8 @@
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
Serializer::Serializer(BitstreamWriter& stream, unsigned BlockID)
|
||||
: Stream(stream), BlockLevel(0) {
|
||||
|
||||
if (BlockID >= 8)
|
||||
EnterBlock(8,3);
|
||||
}
|
||||
Serializer::Serializer(BitstreamWriter& stream)
|
||||
: Stream(stream), BlockLevel(0) {}
|
||||
|
||||
Serializer::~Serializer() {
|
||||
if (inRecord())
|
||||
|
Loading…
x
Reference in New Issue
Block a user