Index: runtime/vm/snapshot.h |
diff --git a/runtime/vm/snapshot.h b/runtime/vm/snapshot.h |
index 8e387efee7447bb738d5f92419883f1826e21062..60516398218ac4ac0cf9fbc478a27c5b4ae63143 100644 |
--- a/runtime/vm/snapshot.h |
+++ b/runtime/vm/snapshot.h |
@@ -24,7 +24,6 @@ class Class; |
class ClassTable; |
class Closure; |
class Code; |
-class Dwarf; |
class ExternalTypedData; |
class GrowableObjectArray; |
class Heap; |
@@ -766,8 +765,10 @@ class AssemblyImageWriter : public ImageWriter { |
public: |
AssemblyImageWriter(uint8_t** assembly_buffer, |
ReAlloc alloc, |
- intptr_t initial_size); |
- void Finalize(); |
+ intptr_t initial_size) |
+ : ImageWriter(), |
+ assembly_stream_(assembly_buffer, alloc, initial_size), |
+ text_size_(0) {} |
virtual void WriteText(WriteStream* clustered_stream, bool vm); |
virtual intptr_t text_size() { return text_size_; } |
@@ -775,9 +776,6 @@ class AssemblyImageWriter : public ImageWriter { |
intptr_t AssemblySize() const { return assembly_stream_.bytes_written(); } |
private: |
- void FrameUnwindPrologue(); |
- void FrameUnwindEpilogue(); |
- void WriteByteSequence(uword start, uword end); |
void WriteWordLiteralText(uword value) { |
// Padding is helpful for comparing the .S with --disassemble. |
#if defined(ARCH_IS_64_BIT) |
@@ -790,7 +788,6 @@ class AssemblyImageWriter : public ImageWriter { |
WriteStream assembly_stream_; |
intptr_t text_size_; |
- Dwarf* dwarf_; |
DISALLOW_COPY_AND_ASSIGN(AssemblyImageWriter); |
}; |