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

Unified Diff: runtime/lib/developer.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/lib/date.cc ('k') | runtime/lib/double.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/developer.cc
diff --git a/runtime/lib/developer.cc b/runtime/lib/developer.cc
index e2f5a1ba12ea578e0d136631387bb4cd5a78b445..c314aaa1d12ebed5d38f68f78628528a494be03a 100644
--- a/runtime/lib/developer.cc
+++ b/runtime/lib/developer.cc
@@ -32,7 +32,6 @@ DEFINE_NATIVE_ENTRY(Developer_debugger, 2) {
return when.raw();
}
-
DEFINE_NATIVE_ENTRY(Developer_inspect, 1) {
GET_NATIVE_ARGUMENT(Instance, inspectee, arguments->NativeArgAt(0));
#ifndef PRODUCT
@@ -43,7 +42,6 @@ DEFINE_NATIVE_ENTRY(Developer_inspect, 1) {
return inspectee.raw();
}
-
DEFINE_NATIVE_ENTRY(Developer_log, 8) {
#if defined(PRODUCT)
return Object::null();
@@ -66,7 +64,6 @@ DEFINE_NATIVE_ENTRY(Developer_log, 8) {
#endif // PRODUCT
}
-
DEFINE_NATIVE_ENTRY(Developer_postEvent, 2) {
#if defined(PRODUCT)
return Object::null();
@@ -81,7 +78,6 @@ DEFINE_NATIVE_ENTRY(Developer_postEvent, 2) {
#endif // PRODUCT
}
-
DEFINE_NATIVE_ENTRY(Developer_lookupExtension, 1) {
#if defined(PRODUCT)
return Object::null();
@@ -94,7 +90,6 @@ DEFINE_NATIVE_ENTRY(Developer_lookupExtension, 1) {
#endif // PRODUCT
}
-
DEFINE_NATIVE_ENTRY(Developer_registerExtension, 2) {
#if defined(PRODUCT)
return Object::null();
@@ -123,7 +118,6 @@ DEFINE_NATIVE_ENTRY(Developer_getServiceMajorVersion, 0) {
#endif
}
-
DEFINE_NATIVE_ENTRY(Developer_getServiceMinorVersion, 0) {
#if defined(PRODUCT)
return Smi::New(0);
@@ -132,14 +126,12 @@ DEFINE_NATIVE_ENTRY(Developer_getServiceMinorVersion, 0) {
#endif
}
-
static void SendNull(const SendPort& port) {
const Dart_Port destination_port_id = port.Id();
PortMap::PostMessage(new Message(destination_port_id, Object::null(),
Message::kNormalPriority));
}
-
DEFINE_NATIVE_ENTRY(Developer_getServerInfo, 1) {
GET_NON_NULL_NATIVE_ARGUMENT(SendPort, port, arguments->NativeArgAt(0));
#if defined(PRODUCT)
@@ -155,7 +147,6 @@ DEFINE_NATIVE_ENTRY(Developer_getServerInfo, 1) {
#endif
}
-
DEFINE_NATIVE_ENTRY(Developer_webServerControl, 2) {
GET_NON_NULL_NATIVE_ARGUMENT(SendPort, port, arguments->NativeArgAt(0));
#if defined(PRODUCT)
@@ -172,7 +163,6 @@ DEFINE_NATIVE_ENTRY(Developer_webServerControl, 2) {
#endif
}
-
DEFINE_NATIVE_ENTRY(Developer_getIsolateIDFromSendPort, 1) {
#if defined(PRODUCT)
return Object::null();
@@ -183,5 +173,4 @@ DEFINE_NATIVE_ENTRY(Developer_getIsolateIDFromSendPort, 1) {
#endif
}
-
} // namespace dart
« no previous file with comments | « runtime/lib/date.cc ('k') | runtime/lib/double.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698