Skip to content

Commit

Permalink
Extend callTargetInfoStringFor: with more details on call nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Aug 29, 2021
1 parent aef306b commit 1d2503c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ included call nodes:
ifNotNil: [ ea getSimpleName asString ]]) joinSeparatedBy: ', ' ] ].
(c getCallNodes asCollection
ifNotEmpty: [:n | (n collect: [ :ea |
ea getCurrentCallTarget toString asString])
'{1} (callCount: {2}; inliningForced: {3}; identity: {4})' format: {
ea getCurrentCallTarget toString asString.
ea getCallCount.
ea isInliningForced.
ea identityHash } ])
joinSeparatedBy: String cr, ' - ' ]
ifEmpty: [ 'n/a' ] ) } ]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"class" : {
"callTargetInfoStringFor:" : "fn 7/9/2021 19:07",
"callTargetInfoStringFor:" : "fn 7/16/2021 16:56",
"initialize" : "fn 3/29/2021 21:42",
"registerInWorldMenu" : "fn 3/29/2021 21:58",
"showClassIcons" : "fn 2/16/2021 22:17",
Expand Down

0 comments on commit 1d2503c

Please sign in to comment.