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

Unified Diff: runtime/vm/object.cc

Issue 2903993002: Remember deopt-id -> context-level mappings in var descriptors. (Closed)
Patch Set: . Created 3 years, 7 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/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 2c6422e7d0e5d68d8799ed3ba5034b6b3bc99174..555b4c5be00857c94b75e38523c38441523fe849 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -12584,12 +12584,13 @@ static int PrintVarInfo(char* buffer,
const RawLocalVarDescriptors::VarInfoKind kind = info.kind();
const int32_t index = info.index();
if (kind == RawLocalVarDescriptors::kContextLevel) {
- return OS::SNPrint(buffer, len, "%2" Pd
- " %-13s level=%-3d scope=%-3d"
- " begin=%-3d end=%d\n",
+ return OS::SNPrint(buffer, len,
+ "%2" Pd
+ " %-13s level=%-3d"
+ " begin=%-3d end=%d\n",
i, LocalVarDescriptors::KindToCString(kind), index,
- info.scope_id, static_cast<int>(info.begin_pos.Pos()),
- static_cast<int>(info.end_pos.Pos()));
+ static_cast<int>(info.begin_pos.value()),
+ static_cast<int>(info.end_pos.value()));
} else if (kind == RawLocalVarDescriptors::kContextVar) {
return OS::SNPrint(
buffer, len, "%2" Pd

Powered by Google App Engine
This is Rietveld 408576698