Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a8f761f1946a8c7e44f4049494b101565252a820
https://github.com/WebKit/WebKit/commit/a8f761f1946a8c7e44f4049494b101565252a820
Author: Yusuke Suzuki <[email protected]>
Date: 2026-05-04 (Mon, 04 May 2026)
Changed paths:
M Source/JavaScriptCore/runtime/RegExpMatchesArray.cpp
M Source/JavaScriptCore/runtime/RegExpMatchesArray.h
Log Message:
-----------
[JSC] Simplify RegExp match array creation
https://bugs.webkit.org/show_bug.cgi?id=313913
rdar://176109334
Reviewed by Yijia Huang.
Simplify RegExp match array creation for non complicated cases (not
having indice and not having named captures). We also move haveABadTime
case out-of-line code too.
* Source/JavaScriptCore/runtime/RegExpMatchesArray.cpp:
(JSC::createRegExpMatchesArrayWithGroupsOrIndices):
(JSC::createRegExpMatchesArrayForPlainRegExpHavingABadTime):
* Source/JavaScriptCore/runtime/RegExpMatchesArray.h:
(JSC::createRegExpMatchesArrayForPlainRegExp):
(JSC::createRegExpMatchesArray):
Canonical link: https://commits.webkit.org/312530@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications