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

Unified Diff: runtime/vm/compiler.cc

Issue 1054393003: Compress deopt instructions in memory using variable length encoding. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix other architectures Created 5 years, 8 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 15df2ee8c17f2fa5668f093010f85947467119a4..47bd2ba8319654c3b0abf7b9a12372d9935f9c52 100644
--- a/runtime/vm/compiler.cc
+++ b/runtime/vm/compiler.cc
@@ -845,7 +845,7 @@ static void DisassembleCode(const Function& function, bool optimized) {
if (deopt_table_length > 0) {
ISL_Print("DeoptInfo: {\n");
Smi& offset = Smi::Handle();
- DeoptInfo& info = DeoptInfo::Handle();
+ TypedData& info = TypedData::Handle();
Smi& reason_and_flags = Smi::Handle();
for (intptr_t i = 0; i < deopt_table_length; ++i) {
DeoptTable::GetEntry(deopt_table, i, &offset, &info, &reason_and_flags);
@@ -855,7 +855,7 @@ static void DisassembleCode(const Function& function, bool optimized) {
ISL_Print("%4" Pd ": 0x%" Px " %s (%s)\n",
i,
start + offset.Value(),
- info.ToCString(),
+ DeoptInfo::ToCString(deopt_table, info),
DeoptReasonToCString(
static_cast<ICData::DeoptReasonId>(reason)));
}

Powered by Google App Engine
This is Rietveld 408576698