-
Notifications
You must be signed in to change notification settings - Fork 183
Model function ABI in the Rust IR #481
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
Model function ABI in the Rust IR #481
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.
Can we add an abi
field to the Fn
type as well?
(Also, maybe we can rename that type to FnPointer
, but that is I guess a distinct PR.)
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.
This looks good to me. Just waiting for @nikomatsakis
One other thing, apparently a |
I kept the Fn ABI commit in the PR so the changes can be reused/referenced for future PRs. |
Closes #460
Only tracks function calling convention based on the discussion in the issue (though the interner could put more data in the
FnAbi
type).