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

Unified Diff: runtime/vm/compiler.cc

Issue 11040058: Compress deoptimization information by sharing common suffixes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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/compiler.cc
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
index 8e476044c2dc655134bbf8d69da9e66fd40c735f..719e8b0c1647830d79ba304cd17c7c23732631ed 100644
--- a/runtime/vm/compiler.cc
+++ b/runtime/vm/compiler.cc
@@ -348,7 +348,8 @@ static void DisassembleCode(const Function& function, bool optimized) {
Smi& reason = Smi::Handle();
for (intptr_t i = 0; i < deopt_table_length; ++i) {
DeoptTable::GetEntry(deopt_table, i, &offset, &info, &reason);
- OS::Print("0x%"Px" %s (%s)\n",
+ OS::Print("%4"Pd": 0x%"Px" %s (%s)\n",
Kevin Millikin (Google) 2012/10/05 14:31:55 Here we print 'compressed' entries, sometimes term
srdjan 2012/10/08 16:37:58 I think we need to do both, i.e., have a flag that
+ i,
start + offset.Value(),
info.ToCString(),
DeoptReasonToText(reason.Value()));

Powered by Google App Engine
This is Rietveld 408576698