-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JSC] holesMustForwardToPrototype should be fast for normal arrays
https://bugs.webkit.org/show_bug.cgi?id=259239 rdar://112308103 Reviewed by Alexey Shvayka. We should quickly say `false` from Structure::holesMustForwardToPrototype if the target structure is original array and we are having array prototype sane chain (this means we have no indexed properties, and array prototype chain is solid). * Source/JavaScriptCore/runtime/Structure.cpp: (JSC::Structure::holesMustForwardToPrototypeSlow const): (JSC::Structure::holesMustForwardToPrototype const): Deleted. * Source/JavaScriptCore/runtime/Structure.h: * Source/JavaScriptCore/runtime/StructureInlines.h: (JSC::Structure::holesMustForwardToPrototype const): Canonical link: https://commits.webkit.org/266183@main
- Loading branch information
1 parent
01b454a
commit 9d3aa20
Showing
3 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters