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

LibJS: Make the return path CF more static #24295

Merged
merged 2 commits into from May 15, 2024

Conversation

Hendiadyoin1
Copy link
Contributor

LibJS: Avoid returning Completions from more Bytecode instructions

LibJS: Make return control flow more static

With this only ContinuePendingUnwind needs to dynamically check if a
scheduled return needs to go through a finally block, making the
interpreter loop a bit nicer

@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label May 12, 2024
@trflynn89 trflynn89 added the ⚠️ pr-has-conflicts PR has merge conflicts and needs to be rebased label May 14, 2024
With this only `ContinuePendingUnwind` needs to dynamically check if a
scheduled return needs to go through a `finally` block, making the
interpreter loop a bit nicer
@Hendiadyoin1 Hendiadyoin1 removed the ⚠️ pr-has-conflicts PR has merge conflicts and needs to be rebased label May 14, 2024
@awesomekling awesomekling merged commit c8e4499 into SerenityOS:master May 15, 2024
11 checks passed
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label May 15, 2024
@Hendiadyoin1 Hendiadyoin1 deleted the more-static-cf branch May 15, 2024 12:47
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.

None yet

3 participants