Skip to content
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

crucible-mir: Add *IO entrypoints for each memory model operation #1107

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

RyanGlScott
Copy link
Contributor

A follow-up to #1105/#1106. I found myself needing subanyMirRefIO, subfieldMirRefIO, and subjustMirRefIO in an upcoming SAW patch, but to avoid having to make a bunch of little patches each time I need more things from the crucible-mir memory model, I opted to define *IO functions for each memory model operation that performs side effects. After this patch, it should be straightforward to call anything in the crucible-mir memory model without too much trouble.

A follow-up to #1105/#1106. I found myself needing `subanyMirRefIO`,
`subfieldMirRefIO`, and `subjustMirRefIO` in an upcoming SAW patch, but to
avoid having to make a bunch of little patches each time I need more things
from the `crucible-mir` memory model, I opted to define `*IO` functions for
each memory model operation that performs side effects. After this patch, it
should be straightforward to call anything in the `crucible-mir` memory model
without too much trouble.
Copy link
Contributor

@spernsteiner spernsteiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems pretty straightforward

@RyanGlScott RyanGlScott merged commit 602cb8f into master Aug 31, 2023
@RyanGlScott RyanGlScott deleted the crucible-mir-sub-io branch August 31, 2023 22:07
RyanGlScott added a commit that referenced this pull request Feb 1, 2024
RyanGlScott added a commit that referenced this pull request Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants