Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 6f7c50511ac2f8d3055ced1f108d940d5e1d603d..fcb8fab9786f147bd3f17a7bdfa857e2fa6dc376 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(); |