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

Unified Diff: runtime/vm/bootstrap_nocore.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_natives.cc ('k') | runtime/vm/branch_optimizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/bootstrap_nocore.cc
diff --git a/runtime/vm/bootstrap_nocore.cc b/runtime/vm/bootstrap_nocore.cc
index f3dd693d2fa046251b7ecb61d627c96ee175ad35..5dc37b0dbdd06540536a4ef965bdac30022dd1e6 100644
--- a/runtime/vm/bootstrap_nocore.cc
+++ b/runtime/vm/bootstrap_nocore.cc
@@ -22,23 +22,18 @@ namespace dart {
#define MAKE_PROPERTIES(CamelName, name) \
{ObjectStore::k##CamelName, "dart:" #name},
-
struct BootstrapLibProps {
ObjectStore::BootstrapLibraryId index;
const char* uri;
};
-
static BootstrapLibProps bootstrap_libraries[] = {
FOR_EACH_BOOTSTRAP_LIBRARY(MAKE_PROPERTIES)};
-
#undef MAKE_PROPERTIES
-
static const intptr_t bootstrap_library_count = ARRAY_SIZE(bootstrap_libraries);
-
void Finish(Thread* thread, bool from_kernel) {
Bootstrap::SetupNativeResolver();
ClassFinalizer::ProcessPendingClasses(from_kernel);
@@ -71,7 +66,6 @@ void Finish(Thread* thread, bool from_kernel) {
Compiler::CompileClass(cls);
}
-
RawError* BootstrapFromKernel(Thread* thread, kernel::Program* program) {
Zone* zone = thread->zone();
kernel::KernelReader reader(program);
@@ -118,7 +112,6 @@ RawError* BootstrapFromKernel(Thread* thread, kernel::Program* program) {
return Error::null();
}
-
RawError* Bootstrap::DoBootstrapping(kernel::Program* program) {
Thread* thread = Thread::Current();
Isolate* isolate = thread->isolate();
« no previous file with comments | « runtime/vm/bootstrap_natives.cc ('k') | runtime/vm/branch_optimizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698