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

Unified Diff: runtime/vm/object_store.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/object_service.cc ('k') | runtime/vm/object_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.cc
diff --git a/runtime/vm/object_store.cc b/runtime/vm/object_store.cc
index 274c8bd6253d3812aa4b71ffe24b49abc5c56c39..77672c9d25b37a9e032f00b8c2e48d8db9b9ca4b 100644
--- a/runtime/vm/object_store.cc
+++ b/runtime/vm/object_store.cc
@@ -4,8 +4,8 @@
#include "vm/object_store.h"
-#include "vm/exceptions.h"
#include "vm/dart_entry.h"
+#include "vm/exceptions.h"
#include "vm/isolate.h"
#include "vm/object.h"
#include "vm/raw_object.h"
@@ -111,23 +111,19 @@ ObjectStore::ObjectStore()
}
}
-
ObjectStore::~ObjectStore() {}
-
void ObjectStore::VisitObjectPointers(ObjectPointerVisitor* visitor) {
ASSERT(visitor != NULL);
visitor->VisitPointers(from(), to());
}
-
void ObjectStore::Init(Isolate* isolate) {
ASSERT(isolate->object_store() == NULL);
ObjectStore* store = new ObjectStore();
isolate->set_object_store(store);
}
-
#ifndef PRODUCT
void ObjectStore::PrintToJSONObject(JSONObject* jsobj) {
if (!FLAG_support_service) {
@@ -147,7 +143,6 @@ void ObjectStore::PrintToJSONObject(JSONObject* jsobj) {
}
#endif // !PRODUCT
-
RawError* ObjectStore::PreallocateObjects() {
Thread* thread = Thread::Current();
Isolate* isolate = thread->isolate();
@@ -209,7 +204,6 @@ RawError* ObjectStore::PreallocateObjects() {
return Error::null();
}
-
RawFunction* ObjectStore::PrivateObjectLookup(const String& name) {
const Library& core_lib = Library::Handle(core_library());
const String& mangled = String::ZoneHandle(core_lib.PrivateName(name));
@@ -219,7 +213,6 @@ RawFunction* ObjectStore::PrivateObjectLookup(const String& name) {
return result.raw();
}
-
void ObjectStore::InitKnownObjects() {
#ifdef DART_PRECOMPILED_RUNTIME
// These objects are only needed for code generation.
@@ -261,7 +254,6 @@ void ObjectStore::InitKnownObjects() {
ASSERT(!function.IsNull());
set_async_clear_thread_stack_trace(function);
-
function_name ^= async_lib.PrivateName(Symbols::AsyncStarMoveNextHelper());
ASSERT(!function_name.IsNull());
function ^=
« no previous file with comments | « runtime/vm/object_service.cc ('k') | runtime/vm/object_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698