Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Unified Diff: runtime/vm/snapshot.h

Issue 2754233002: Revert "DWARF and unwind support for AOT assembly output." (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698