diff options
author | 2016-10-19 16:18:50 +0000 | |
---|---|---|
committer | 2016-10-19 16:18:51 +0000 | |
commit | c89f9776a107ca20d0146c16fa881db91c4f8266 (patch) | |
tree | f77bd4525e69c4874c52183878ae642fd5a2201c /runtime/reference_table.cc | |
parent | 58b99c78d0bba093fddebab0dcad45bbcf5c55d9 (diff) | |
parent | 709b070044354d9f47641f273edacaeeb0240ab7 (diff) |
Merge "Remove mirror:: and ArtMethod deps in utils.{h,cc}"
Diffstat (limited to 'runtime/reference_table.cc')
-rw-r--r-- | runtime/reference_table.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/reference_table.cc b/runtime/reference_table.cc index a9f39d09b4..16ed7fb7ee 100644 --- a/runtime/reference_table.cc +++ b/runtime/reference_table.cc @@ -88,7 +88,7 @@ static void DumpSummaryLine(std::ostream& os, ObjPtr<mirror::Object> obj, size_t return; } - std::string className(PrettyTypeOf(obj)); + std::string className(obj->PrettyTypeOf()); if (obj->IsClass()) { // We're summarizing multiple instances, so using the exemplar // Class' type parameter here would be misleading. @@ -178,7 +178,7 @@ void ReferenceTable::Dump(std::ostream& os, Table& entries) { continue; } - std::string className(PrettyTypeOf(ref)); + std::string className(ref->PrettyTypeOf()); std::string extras; size_t element_count = GetElementCount(ref); @@ -197,7 +197,7 @@ void ReferenceTable::Dump(std::ostream& os, Table& entries) { if (referent == nullptr) { extras = " (referent is null)"; } else { - extras = StringPrintf(" (referent is a %s)", PrettyTypeOf(referent).c_str()); + extras = StringPrintf(" (referent is a %s)", referent->PrettyTypeOf().c_str()); } } os << StringPrintf(" %5d: ", idx) << ref << " " << className << extras << "\n"; |