Skip to content

Commit

Permalink
[vm] Exclude class name from function name in instruction sizes json.
Browse files Browse the repository at this point in the history
Issue dart-lang#41249

Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-try,pkg-win-release-try,pkg-mac-release-try
Change-Id: Idf2bb9c9d6392c7a95aa09a2cc1f2190adcf782d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150522
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
  • Loading branch information
mraleph authored and commit-bot@chromium.org committed Jun 10, 2020
1 parent ec4b5e5 commit 041993f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions disassembler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,11 @@ void Disassembler::DisassembleCodeHelper(const char* function_fullname,
} else if (function.IsNull()) {
cls ^= code.owner();
if (cls.IsNull()) {
THR_Print(" 0x%" Px ": %s, (%s)%s\n", base + offset,
code.QualifiedName(Object::kScrubbedName,
Object::NameDisambiguation::kYes),
skind, s_entry_point);
THR_Print(
" 0x%" Px ": %s, (%s)%s\n", base + offset,
code.QualifiedName(NameFormattingParams(
Object::kScrubbedName, Object::NameDisambiguation::kYes)),
skind, s_entry_point);
} else {
THR_Print(" 0x%" Px ": allocation stub for %s, (%s)%s\n",
base + offset, cls.ToCString(), skind, s_entry_point);
Expand Down

0 comments on commit 041993f

Please sign in to comment.