[webkit-changes] [WebKit/WebKit] 0ec5ba: [JSC] ScopedArguments in-by-val should return true...
Yusuke Suzuki
noreply at github.com
Fri Nov 3 14:19:49 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0ec5ba65959df8d00c006aba57d0e6efcdaba45b
https://github.com/WebKit/WebKit/commit/0ec5ba65959df8d00c006aba57d0e6efcdaba45b
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2023-11-03 (Fri, 03 Nov 2023)
Changed paths:
A JSTests/stress/scoped-arguments-in-by-val.js
M Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp
Log Message:
-----------
[JSC] ScopedArguments in-by-val should return true when it is lexical env's scoped one
https://bugs.webkit.org/show_bug.cgi?id=264175
rdar://117342141
Reviewed by Mark Lam.
We should return true when we find that ScopedArguments InByVal found lexical env's captured variable.
* JSTests/stress/scoped-arguments-in-by-val.js: Added.
(shouldBe):
(test):
* Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp:
(JSC::InlineCacheCompiler::generateWithGuard):
Canonical link: https://commits.webkit.org/270203@main
More information about the webkit-changes
mailing list