Index: runtime/vm/disassembler.h |
diff --git a/runtime/vm/disassembler.h b/runtime/vm/disassembler.h |
index 1becc4d1f1e4f63bcb92eae1c553ad210cb0073d..e89ab21000db6f7ec9f58b7bff8f4733183c74ae 100644 |
--- a/runtime/vm/disassembler.h |
+++ b/runtime/vm/disassembler.h |
@@ -24,7 +24,8 @@ class DisassemblyFormatter { |
virtual ~DisassemblyFormatter() { } |
// Consume the decoded instruction at the given pc. |
- virtual void ConsumeInstruction(char* hex_buffer, |
+ virtual void ConsumeInstruction(const Code& code, |
+ char* hex_buffer, |
intptr_t hex_size, |
char* human_buffer, |
intptr_t human_size, |
@@ -42,7 +43,8 @@ class DisassembleToStdout : public DisassemblyFormatter { |
DisassembleToStdout() : DisassemblyFormatter() { } |
~DisassembleToStdout() { } |
- virtual void ConsumeInstruction(char* hex_buffer, |
+ virtual void ConsumeInstruction(const Code& code, |
+ char* hex_buffer, |
intptr_t hex_size, |
char* human_buffer, |
intptr_t human_size, |
@@ -63,7 +65,8 @@ class DisassembleToJSONStream : public DisassemblyFormatter { |
: DisassemblyFormatter(), jsarr_(jsarr) { } |
~DisassembleToJSONStream() { } |
- virtual void ConsumeInstruction(char* hex_buffer, |
+ virtual void ConsumeInstruction(const Code& code, |
+ char* hex_buffer, |
intptr_t hex_size, |
char* human_buffer, |
intptr_t human_size, |