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

Leave address should be pushed to the stack #19

Open
jp2masa opened this issue Oct 25, 2017 · 0 comments
Open

Leave address should be pushed to the stack #19

jp2masa opened this issue Oct 25, 2017 · 0 comments

Comments

@jp2masa
Copy link
Member

jp2masa commented Oct 25, 2017

The endfinally/endfilter op declares a data member to store the leave address and the leave op stores the current address in the data member, but the address should be stored in the stack.
For example, if a method calls itself from a finally block (which comes from a leave address X), and the finally block in the called method comes from a leave address Y, then Y is stored in the data member and, after returning, endfinally/endfilter will jump address Y, but it should jump to X.

Related to #16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant