| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 9d22020b1d8ef90e9b1a3a1c948329d8e3fa5b3a..0f65ce1b8e2286c7e0b6e68d0b58f34cdd1e96ab 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -114,6 +114,7 @@ Smi* Object::smi_illegal_cid_ = NULL;
|
| LanguageError* Object::snapshot_writer_error_ = NULL;
|
| LanguageError* Object::branch_offset_error_ = NULL;
|
| Array* Object::vm_isolate_snapshot_object_table_ = NULL;
|
| +const uint8_t* Object::instructions_snapshot_buffer_ = NULL;
|
|
|
| RawObject* Object::null_ = reinterpret_cast<RawObject*>(RAW_NULL);
|
| RawClass* Object::class_class_ = reinterpret_cast<RawClass*>(RAW_NULL);
|
| @@ -10966,7 +10967,8 @@ ObjectPool::EntryType ObjectPool::InfoAt(intptr_t index) const {
|
|
|
|
|
| const char* ObjectPool::ToCString() const {
|
| - return "ObjectPool";
|
| + Zone* zone = Thread::Current()->zone();
|
| + return zone->PrintToString("ObjectPool len:%" Pd, Length());
|
| }
|
|
|
|
|
| @@ -11667,7 +11669,7 @@ RawExceptionHandlers* ExceptionHandlers::New(const Array& handled_types_data) {
|
|
|
| const char* ExceptionHandlers::ToCString() const {
|
| if (num_entries() == 0) {
|
| - return "No exception handlers\n";
|
| + return "empty ExceptionHandlers\n";
|
| }
|
| Array& handled_types = Array::Handle();
|
| Type& type = Type::Handle();
|
|
|