-
Notifications
You must be signed in to change notification settings - Fork 5k
win-x86: Replace "ret n" thunks with assembly code #115089
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
Conversation
"ret <n>" for an "<n>" specified using a variable value stored in register.
The motivation is mainly to reduce the number of unnecessary usages of |
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.
There is an existing pattern used for this in this .asm file. Would it make sense to do the same here?
/ba-g deadletter |
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.
Thanks
Replace x86 COM "ret n" thunks with assembly code that emulates "ret [n]" for an "[n]" specified using a variable value stored in register.