| Index: vm/heap_profiler.cc
|
| ===================================================================
|
| --- vm/heap_profiler.cc (revision 9828)
|
| +++ vm/heap_profiler.cc (working copy)
|
| @@ -413,8 +413,7 @@
|
| // stack trace serial number
|
| record.Write32(0);
|
| if (raw_class->ptr()->name_ == String::null()) {
|
| - intptr_t class_index = Object::GetSingletonClassIndex(raw_class);
|
| - const char* name = Object::GetSingletonClassName(class_index);
|
| + const char* name = Object::GetSingletonClassName(raw_class->id_);
|
| record.WritePointer(StringId(name));
|
| } else {
|
| record.WritePointer(StringId(raw_class->ptr()->name_));
|
|
|