8000 Move function objects to be lambda based. by aardvark179 · Pull Request #1899 · mozilla/rhino · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Move function objects to be lambda based. #1899

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

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

Conversation

aardvark179
Copy link
Contributor

Creating this as a draft. I noticed there are some test262 tests we should pass, but hadn't been picked up by -DupdateTest262properties because their lines were marked with ~ in the properties file. I'll deal with some of those before moving this from draft status.

@aardvark179
Copy link
Contributor Author

V8 Benchmarks seem good, no significant regressions. I'll try running the SpiderMonkey and micro other benchmarks tonight, and then tidy things up.

@@ -486,7 +487,7 @@ public String getClassName() {
}

private Scriptable buildScope(Context cx, Test262Case testCase, boolean interpretedMode) {
ScriptableObject scope = cx.initSafeStandardObjects();
ScriptableObject scope = (ScriptableObject) cx.initSafeStandardObjects(new TopLevel());
Copy link
Collaborator

Choose a reason for hiding this comment

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

What about making a separate PR out of this change together with the test262.properties update.
This will make it simpler to understand the impact of this change and not to mix it with the lambda stuff.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. What I might do is stack them so it's the 262 change first, and then the move to lambda so any effect on the generator function tests is obvious.

Copy link
Collaborator
@rbri rbri May 12, 2025

Choose a reason for hiding this comment

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

so it's the 262 change first

@aardvark179 great, i think we can merge that as soon as you have it to not block the rest

@aardvark179 aardvark179 force-pushed the aardvark179-functions-to-lambda-2 branch from d5e84da to 2bb36d2 Compare May 12, 2025 19:42
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.

2 participants
0