Skip to content

Parameter position from LocalPointerKey in the SSA IR. #1277

Answered by msridhar
khatchad asked this question in Q&A
Discussion options

You must be logged in to vote

I believe that for instance methods, value number 1 is the receiver, and then the remaining parameters get consecutive value numbers after that. For static methods, value number 1 is the first declared formal parameter and they are numbered consecutively after that. Does that match what you are seeing?

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by khatchad
Comment options

You must be logged in to vote
1 reply
@msridhar
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants