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

Fix variable definition order: keep orig vars first #247

Merged
merged 1 commit into from
Feb 3, 2020

Conversation

0x0ade
Copy link
Contributor

@0x0ade 0x0ade commented Feb 3, 2020

Commit f213218 introduced a bug in which a method's original variables got defined after the temporary result variable and all other patch-related variables, resulting in (best case) the JITter throwing an ExecutionEngineException and (worst case) memory corruption in form of an uncatchable access violation.

This PR fixes the variable definition order.

@pardeike
Copy link
Owner

pardeike commented Feb 3, 2020

Well done!

@pardeike pardeike merged commit 3a8338a into pardeike:master Feb 3, 2020
@0x0ade 0x0ade deleted the fixvarorder branch February 3, 2020 22:32
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