[webkit-changes] [WebKit/WebKit] 39da8d: [JSC] Use generic put when put is overridden in me...
Yusuke Suzuki
noreply at github.com
Fri Jun 9 19:48:23 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 39da8d385c9b8454bb2b7973e04feb7524934fdc
https://github.com/WebKit/WebKit/commit/39da8d385c9b8454bb2b7973e04feb7524934fdc
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2023-06-09 (Fri, 09 Jun 2023)
Changed paths:
M Source/JavaScriptCore/jit/JITOperations.cpp
Log Message:
-----------
[JSC] Use generic put when put is overridden in megamorphic put
https://bugs.webkit.org/show_bug.cgi?id=257928
rdar://110551197
Reviewed by Alexey Shvayka.
putInlineSlow is usable only when the |this| object's put is normal JSObject's put.
This patch adds an earlier slow path using normal `put` instead when |this| object's put
is overridden.
* Source/JavaScriptCore/jit/JITOperations.cpp:
(JSC::putByIdMegamorphic):
(JSC::putByValMegamorphic):
Canonical link: https://commits.webkit.org/265047@main
More information about the webkit-changes
mailing list