mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-02 20:38:34 +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;
|
MapTy PtrMap;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Serializer(BitstreamWriter& stream, unsigned BlockID = 8);
|
Serializer(BitstreamWriter& stream);
|
||||||
|
|
||||||
~Serializer();
|
~Serializer();
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
@ -16,12 +16,8 @@
|
|||||||
|
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
Serializer::Serializer(BitstreamWriter& stream, unsigned BlockID)
|
Serializer::Serializer(BitstreamWriter& stream)
|
||||||
: Stream(stream), BlockLevel(0) {
|
: Stream(stream), BlockLevel(0) {}
|
||||||
|
|
||||||
if (BlockID >= 8)
|
|
||||||
EnterBlock(8,3);
|
|
||||||
}
|
|
||||||
|
|
||||||
Serializer::~Serializer() {
|
Serializer::~Serializer() {
|
||||||
if (inRecord())
|
if (inRecord())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user