Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index aeab50c73a68f13e50668dddd432638aa54cf98b..0446fa78fdd2db4a346817324f257d93dfc425ef 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 |