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

Avoid mutating Instruction instances during emit #200

Merged
merged 2 commits into from
Nov 24, 2024

Conversation

nike4613
Copy link
Collaborator

Due to 6b8dc34, we can now emit actual IL for a DMD before ILHooks have a chance to look at it. Even though we're using different DMDs, we end up copying the already-modified DMD instead of the original, and this can break some existing code that relies on matching short-forms.

@nike4613 nike4613 merged commit 5172336 into MonoMod:reorganize Nov 24, 2024
69 checks passed
@nike4613 nike4613 deleted the dont-chage-opcodes branch November 24, 2024 22:19
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.

1 participant