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

Unified Diff: runtime/vm/bootstrap_natives.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/bootstrap.cc ('k') | runtime/vm/bootstrap_nocore.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/bootstrap_natives.cc
diff --git a/runtime/vm/bootstrap_natives.cc b/runtime/vm/bootstrap_natives.cc
index b6d5f2a490424c44ee853252b0f20c1321d4e3dd..5e00d7ebef1e0184d263e231636cf71093d947ea 100644
--- a/runtime/vm/bootstrap_natives.cc
+++ b/runtime/vm/bootstrap_natives.cc
@@ -18,7 +18,6 @@ namespace dart {
#define REGISTER_NATIVE_ENTRY(name, count) \
{"" #name, BootstrapNatives::DN_##name, count},
-
// List all native functions implemented in the vm or core bootstrap dart
// libraries so that we can resolve the native function to it's entry
// point.
@@ -32,7 +31,6 @@ static struct NativeEntries {
#endif // !PRODUCT && !DART_PRECOMPILED_RUNTIME
};
-
Dart_NativeFunction BootstrapNatives::Lookup(Dart_Handle name,
int argument_count,
bool* auto_setup_scope) {
@@ -55,7 +53,6 @@ Dart_NativeFunction BootstrapNatives::Lookup(Dart_Handle name,
return NULL;
}
-
const uint8_t* BootstrapNatives::Symbol(Dart_NativeFunction* nf) {
int num_entries = sizeof(BootStrapEntries) / sizeof(struct NativeEntries);
for (int i = 0; i < num_entries; i++) {
@@ -67,7 +64,6 @@ const uint8_t* BootstrapNatives::Symbol(Dart_NativeFunction* nf) {
return NULL;
}
-
void Bootstrap::SetupNativeResolver() {
Library& library = Library::Handle();
@@ -140,7 +136,6 @@ void Bootstrap::SetupNativeResolver() {
library.set_native_entry_symbol_resolver(symbol_resolver);
}
-
bool Bootstrap::IsBootstapResolver(Dart_NativeEntryResolver resolver) {
return (resolver ==
reinterpret_cast<Dart_NativeEntryResolver>(BootstrapNatives::Lookup));
« no previous file with comments | « runtime/vm/bootstrap.cc ('k') | runtime/vm/bootstrap_nocore.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698