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

Unified Diff: vm/heap_profiler.cc

Issue 10807078: Address review comments from a previous CL. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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
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_));

Powered by Google App Engine
This is Rietveld 408576698