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 31bc5e6
Browse filesBrowse the repository at this point in the historyBrowse files
[JSC] Merge boolean fields in JSRegExpStringIterator into a single bitfield
https://bugs.webkit.org/show_bug.cgi?id=305258
Reviewed by Yusuke Suzuki.
The Global, FullUnicode, and Done fields are now stored as bit flags in a
single Flags field, reducing the object size from 56 to 40 bytes.
* Source/JavaScriptCore/builtins/RegExpStringIteratorPrototype.js:
(next): Use bitwise operations to read/write flags.
* Source/JavaScriptCore/bytecode/BytecodeIntrinsicRegistry.cpp:
(JSC::BytecodeIntrinsicRegistry::BytecodeIntrinsicRegistry):
* Source/JavaScriptCore/bytecode/BytecodeIntrinsicRegistry.h:
* Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:
(JSC::regExpStringIteratorInternalFieldIndex):
* Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::handleIntrinsicCall):
* Source/JavaScriptCore/runtime/JSRegExpStringIterator.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/JSRegExpStringIterator.h:
* Source/JavaScriptCore/runtime/RegExpPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
Canonical link: https://commits.webkit.org/305552@main
0 commit comments