Skip to content

Commit

Permalink
Introduce TruffleSqueakUtilities#primitiveGetDirectCallNodes:
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Sep 21, 2023
1 parent c884241 commit e9ba6b7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ included call nodes:
ifNotNil: [ :t | (t asCollection collect: [ :ea | ea
ifNil: ['n/a']
ifNotNil: [ ea getSimpleName asString ]]) joinSeparatedBy: ', ' ] ].
(c getCallNodes asCollection
((TruffleSqueakUtilities primitiveGetDirectCallNodes: c getRootNode) asCollection
ifNotEmpty: [:n | (n collect: [ :ea |
'{1} (callCount: {2}; inliningForced: {3}; identity: {4})' format: {
ea getCurrentCallTarget toString asString.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"class" : {
"callTargetInfoStringFor:" : "fn 7/16/2021 16:56",
"callTargetInfoStringFor:" : "fn 9/21/2023 17:35",
"initialize" : "fn 3/29/2021 21:42",
"registerInWorldMenu" : "fn 3/29/2021 21:58",
"showClassIcons" : "fn 2/16/2021 22:17",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
primitives
primitiveGetDirectCallNodes: aRootNode
<primitive: 'primitiveGetDirectCallNodes' module: 'TruffleSqueakPlugin'>
self primitiveFailed
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"openNumPrimitiveExtensionHistogram" : "fn 2/1/2021 14:59",
"openTruffleSqueakTests" : "fn 3/30/2021 09:54",
"primitiveFormToBufferedImage:" : "fn 4/29/2020 12:29",
"primitiveGetDirectCallNodes:" : "fn 9/21/2023 17:31",
"primitiveGetVMObject:" : "fn 3/21/2020 16:23",
"primitiveVMObjectToHostObject:" : "fn 10/21/2021 09:06",
"registerInWorldMenu" : "fn 3/30/2021 10:31",
Expand Down

0 comments on commit e9ba6b7

Please sign in to comment.