-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Explicit treatment of printing mode in Yul AsmPrinter #15259
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I have some minor suggestions but nothing critical. The change seems correct and useful overall.
7c3550a
to
87a006c
Compare
Thanks @cameel! I implemented your suggestions. |
87a006c
to
dafc9c2
Compare
dafc9c2
to
f89e83b
Compare
When the YulNameRepository is merged, the AsmPrinter will need to have an instance of it anyways (which contains the dialect), so I changed the AsmPrinter s.t. the printing mode is explicitly specified instead of implicitly inferred from whether a dialect pointer is null or not.