Skip to content

Commit

Permalink
Adding a comment for needsFrame method
Browse files Browse the repository at this point in the history
  • Loading branch information
PalumboN committed Apr 24, 2023
1 parent 6cf4499 commit e12ff42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion smalltalksrc/VMMaker/StackToRegisterMappingCogit.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -3700,7 +3700,9 @@ StackToRegisterMappingCogit >> needsFrameIfFollowsSend: stackDelta [

{ #category : #'compile abstract instructions' }
StackToRegisterMappingCogit >> needsFrameIfMod16GENumArgs: stackDelta [
^byte0 \\ 16 >= methodOrBlockNumArgs
"We need a frame if it is accessing to a temporal variable (not an argument)"

^ byte0 \\ 16 >= methodOrBlockNumArgs
]

{ #category : #'compile abstract instructions' }
Expand Down

0 comments on commit e12ff42

Please sign in to comment.