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

Unified Diff: runtime/vm/deferred_objects.cc

Issue 575443002: Refactor generating lazy deoptimization descriptors. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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: runtime/vm/deferred_objects.cc
===================================================================
--- runtime/vm/deferred_objects.cc (revision 40149)
+++ runtime/vm/deferred_objects.cc (working copy)
@@ -88,9 +88,11 @@
DeferredObject* obj = deopt_context->GetDeferredObject(index());
*slot() = obj->object();
if (FLAG_trace_deoptimization_verbose) {
+ const Class& cls = Class::Handle(Isolate::Current()->class_table()->At(
+ Object::Handle(obj->object()).GetClassId()));
OS::PrintErr("writing instance ref at %" Px ": %s\n",
reinterpret_cast<uword>(slot()),
- Instance::Handle(obj->object()).ToCString());
+ cls.ToCString());
Vyacheslav Egorov (Google) 2014/09/15 14:35:56 indicate that we are printing only class somehow [
Florian Schneider 2014/09/15 15:46:31 Done.
}
}

Powered by Google App Engine
This is Rietveld 408576698