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

Add StackMapTable support #1

Draft
wants to merge 41 commits into
base: master
Choose a base branch
from
Draft

Add StackMapTable support #1

wants to merge 41 commits into from

Conversation

igstan
Copy link
Member

@igstan igstan commented Apr 24, 2023

No description provided.

igstan added 30 commits May 3, 2017 02:45
When we encounter a GOTO instruction for which we haven't encountered the
label yet, then we don't know its stackDiff contribution until after the
continuation traversal has finished. That's why we reset the stackSize and
maxStack counters and compensate for this later on when we know the stackDiff
contribution of the branching instruction.
Makes it obvious what values are actually needed.
It turns out seen labels are actually read on return.
Computing it conditionally is still left to be done.
@igstan igstan self-assigned this Apr 24, 2023
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