You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d4e7e6d
Browse filesBrowse the repository at this point in the historyBrowse files
https://bugs.webkit.org/show_bug.cgi?id=319332
rdar://182148177
Reviewed by Sosuke Suzuki.
This patch moves TypedArray.of from builtin JS to C++.
This is trivially convertible as it is not involving callbacks etc.
We have a fast path for normal TypedArray constructors and we store
arguments quickly by using type-specialized path.
* Source/JavaScriptCore/builtins/TypedArrayConstructor.js:
(of): Deleted.
* Source/JavaScriptCore/runtime/JSGlobalObject.h:
* Source/JavaScriptCore/runtime/JSGlobalObjectInlines.h:
(JSC::JSGlobalObject::typedArrayConstructorConcurrently const):
* Source/JavaScriptCore/runtime/JSTypedArrayViewConstructor.cpp:
(JSC::JSTypedArrayViewConstructor::finishCreation):
(JSC::typedArrayOfSetElements):
(JSC::typedArrayOfFast):
(JSC::JSC_DEFINE_HOST_FUNCTION):
Canonical link: https://commits.webkit.org/317162@main
0 commit comments