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

Eliminate dynscope for leaf blocks with break/return #8447

Open
wants to merge 1 commit into
base: 10-dev
Choose a base branch
from

Conversation

headius
Copy link
Member

@headius headius commented Nov 22, 2024

This is a patch to eliminate the need to push a new DynamicScope for leaf blocks that have non-local flow control (break or return) by using the self block's binding's DynamicScope to find the jump target.

See #8330 for original PR closed by 9.5-dev branch deletion.

This is a patch to eliminate the need to push a new DynamicScope
for leaf blocks that have non-local flow control (break or return)
by using the self block's binding's DynamicScope to find the
jump target.
@headius headius added this to the JRuby 10.0.0.0 milestone Nov 22, 2024
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