-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-variant layouts for generators #59897
Merged
Merged
Commits on Apr 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 52e4407 - Browse repository at this point
Copy the full SHA 52e4407View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e06f25 - Browse repository at this point
Copy the full SHA 9e06f25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70c1b6c - Browse repository at this point
Copy the full SHA 70c1b6cView commit details -
Give GeneratorLayout a list of fields for each variant
But don't really use it yet.
Configuration menu - View commit details
-
Copy full SHA for 4de2d8a - Browse repository at this point
Copy the full SHA 4de2d8aView commit details -
This allows generators to overlap fields using variants.
Configuration menu - View commit details
-
Copy full SHA for 5a7af54 - Browse repository at this point
Copy the full SHA 5a7af54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 961ba95 - Browse repository at this point
Copy the full SHA 961ba95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e2e17d - Browse repository at this point
Copy the full SHA 6e2e17dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f772c39 - Browse repository at this point
Copy the full SHA f772c39View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8f6de4 - Browse repository at this point
Copy the full SHA b8f6de4View commit details -
Preserve visibility scopes in stored generator locals
Unfortunately, this didn't have quite the effect I was hoping for. Locals still appear visible at every point in the function, regardless of scopes. I suspect all the rewriting of the MIR we do for the generator transform makes these scopes less useful. I didn't observe any regressions in behavior, but it's possible that this change is wrong without additional changes to the MIR.
Configuration menu - View commit details
-
Copy full SHA for 9ef2c30 - Browse repository at this point
Copy the full SHA 9ef2c30View commit details
Commits on May 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f7c2f24 - Browse repository at this point
Copy the full SHA f7c2f24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15dbe65 - Browse repository at this point
Copy the full SHA 15dbe65View commit details
Commits on May 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 77a6d29 - Browse repository at this point
Copy the full SHA 77a6d29View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.