Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8b7b1a1b94a005149bbc517244ae80bbc87029b9
https://github.com/WebKit/WebKit/commit/8b7b1a1b94a005149bbc517244ae80bbc87029b9
Author: Yusuke Suzuki <[email protected]>
Date: 2024-04-23 (Tue, 23 Apr 2024)
Changed paths:
A JSTests/stress/array-splice-constructor.js
M Source/JavaScriptCore/runtime/ArrayPrototype.cpp
M Source/JavaScriptCore/runtime/ArrayPrototypeInlines.h
Log Message:
-----------
[JSC] Relax arraySpeciesWatchpointIsValid condition
https://bugs.webkit.org/show_bug.cgi?id=273143
rdar://126938733
Reviewed by Alexey Shvayka.
This patch relaxes arraySpeciesWatchpointIsValid condition so that we can
accept Array with unrelated properties for the fast path.
* JSTests/stress/array-splice-constructor.js: Added.
(shouldBe):
(throw.new.Error):
(shouldBe.array):
* Source/JavaScriptCore/runtime/ArrayPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/ArrayPrototypeInlines.h:
(JSC::arraySpeciesWatchpointIsValid):
Canonical link: https://commits.webkit.org/277900@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes