Skip to content

Go: make ParameterNodes for unused parameters #2 (make a disjoint class for unused ones) - #13672

Merged
owen-mc merged 3 commits into
github:mainfrom
owen-mc:go/make-parameter-nodes-for-unused-parameters-2
Jul 12, 2023
Merged

Go: make ParameterNodes for unused parameters #2 (make a disjoint class for unused ones)#13672
owen-mc merged 3 commits into
github:mainfrom
owen-mc:go/make-parameter-nodes-for-unused-parameters-2

Conversation

@owen-mc

@owen-mcowen-mc commented Jul 5, 2023

Copy link
Copy Markdown
Contributor

It was confusing that no ParameterNode was created if a parameter wasn't used. This was because ParameterNodes are linked to SsaNodes. We solve this by making a new kind of ParameterNode for unused parameters.

An alternative approach to #13664

@owen-mcowen-mc changed the title Go: make ParameterNodes for unused parameters using a disjoint classGo: make ParameterNodes for unused parameters #2 (make a disjoint class for unused ones)Jul 5, 2023
@owen-mc
owen-mc marked this pull request as ready for review July 12, 2023 13:40
@owen-mc
owen-mc requested a review from a team as a code ownerJuly 12, 2023 13:40
@owen-mc
owen-mc merged commit 5f76caf into github:mainJul 12, 2023
@owen-mc
owen-mc deleted the go/make-parameter-nodes-for-unused-parameters-2 branch July 12, 2023 14:04
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@owen-mc@smowton