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

[JSC] Simplify resolve_scope for ClosureVar #29987

Conversation

Constellation
Copy link
Member

@Constellation Constellation commented Jun 19, 2024

@Constellation Constellation requested a review from a team as a code owner June 19, 2024 21:30
@Constellation Constellation self-assigned this Jun 19, 2024
@Constellation Constellation added the JavaScriptCore For bugs in JavaScriptCore, the JS engine used by WebKit, other than kxmlcore issues. label Jun 19, 2024
Copy link
Contributor

@justinmichaud justinmichaud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me

@Constellation Constellation added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Jun 20, 2024
https://bugs.webkit.org/show_bug.cgi?id=275671
rdar://130166983

Reviewed by Justin Michaud.

Due to profiled result, we already know local scope depth at this point.
Emit sequence of load instead of loop for smaller local scope depth.

* Source/JavaScriptCore/jit/JITPropertyAccess.cpp:
(JSC::JIT::emit_op_resolve_scope):

Canonical link: https://commits.webkit.org/280191@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/JSC-Simplify-resolve_scope-for-ClosureVar branch from 48272ab to 2cf423a Compare June 20, 2024 05:45
@webkit-commit-queue
Copy link
Collaborator

Committed 280191@main (2cf423a): https://commits.webkit.org/280191@main

Reviewed commits have been landed. Closing PR #29987 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 2cf423a into WebKit:main Jun 20, 2024
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JavaScriptCore For bugs in JavaScriptCore, the JS engine used by WebKit, other than kxmlcore issues.
Projects
None yet
4 participants