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

Unified Diff: runtime/vm/disassembler.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 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/disassembler.h ('k') | runtime/vm/disassembler_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/disassembler.cc
diff --git a/runtime/vm/disassembler.cc b/runtime/vm/disassembler.cc
index d47919a13d3f4075bd56a0746b0151998d84bf6d..ea886284fbcb49dcc5295013c0d7166af5588de2 100644
--- a/runtime/vm/disassembler.cc
+++ b/runtime/vm/disassembler.cc
@@ -5,6 +5,7 @@
#include "vm/disassembler.h"
#include "vm/assembler.h"
+#include "vm/code_patcher.h"
#include "vm/deopt_instructions.h"
#include "vm/globals.h"
#include "vm/il_printer.h"
@@ -12,8 +13,6 @@
#include "vm/json_stream.h"
#include "vm/log.h"
#include "vm/os.h"
-#include "vm/code_patcher.h"
-
namespace dart {
@@ -45,7 +44,6 @@ void DisassembleToStdout::ConsumeInstruction(const Code& code,
THR_Print("\n");
}
-
void DisassembleToStdout::Print(const char* format, ...) {
va_list args;
va_start(args, format);
@@ -53,7 +51,6 @@ void DisassembleToStdout::Print(const char* format, ...) {
va_end(args);
}
-
void DisassembleToJSONStream::ConsumeInstruction(const Code& code,
char* hex_buffer,
intptr_t hex_size,
@@ -76,7 +73,6 @@ void DisassembleToJSONStream::ConsumeInstruction(const Code& code,
}
}
-
void DisassembleToJSONStream::Print(const char* format, ...) {
va_list args;
va_start(args, format);
@@ -101,7 +97,6 @@ void DisassembleToJSONStream::Print(const char* format, ...) {
free(p);
}
-
void Disassembler::Disassemble(uword start,
uword end,
DisassemblyFormatter* formatter,
@@ -159,7 +154,6 @@ void Disassembler::Disassemble(uword start,
}
}
-
void Disassembler::DisassembleCodeHelper(const char* function_fullname,
const Code& code,
bool optimized) {
@@ -302,7 +296,6 @@ void Disassembler::DisassembleCodeHelper(const char* function_fullname,
}
}
-
void Disassembler::DisassembleCode(const Function& function,
const Code& code,
bool optimized) {
@@ -310,7 +303,6 @@ void Disassembler::DisassembleCode(const Function& function,
DisassembleCodeHelper(function_fullname, code, optimized);
}
-
#endif // !PRODUCT
} // namespace dart
« no previous file with comments | « runtime/vm/disassembler.h ('k') | runtime/vm/disassembler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698