| 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 ^=
|
|
|