[webkit-changes] [WebKit/WebKit] 1f93f3: More std::span in the JavaScript parser and runtime

Darin Adler noreply at github.com
Sun Apr 7 19:46:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1f93f36baa8048713a0b926325fc4488e570fdb1
      https://github.com/WebKit/WebKit/commit/1f93f36baa8048713a0b926325fc4488e570fdb1
  Author: Darin Adler <darin at apple.com>
  Date:   2024-04-07 (Sun, 07 Apr 2024)

  Changed paths:
    M Source/JavaScriptCore/API/OpaqueJSString.cpp
    M Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp
    M Source/JavaScriptCore/parser/Lexer.cpp
    M Source/JavaScriptCore/parser/Lexer.h
    M Source/JavaScriptCore/parser/ParserArena.h
    M Source/JavaScriptCore/runtime/Identifier.cpp
    M Source/JavaScriptCore/runtime/Identifier.h
    M Source/JavaScriptCore/runtime/IdentifierInlines.h
    M Source/JavaScriptCore/runtime/LiteralParser.cpp
    M Source/JavaScriptCore/runtime/LiteralParser.h

  Log Message:
  -----------
  More std::span in the JavaScript parser and runtime
https://bugs.webkit.org/show_bug.cgi?id=272304
rdar://126049411

Reviewed by Chris Dumez.

* Source/JavaScriptCore/API/OpaqueJSString.cpp:
(OpaqueJSString::identifier const): Use span.
* Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:
(JSC::RegExpNode::emitBytecode): Ditto.
* Source/JavaScriptCore/parser/Lexer.cpp:
(JSC::Lexer<T>::append8): Ditto.
(JSC::Lexer<T>::append16): Ditto.
(JSC::Lexer<CharacterType>::recordUnicodeCodePoint): Ditto.
(JSC::Lexer<UChar>::parseIdentifier): Ditto.
(JSC::Lexer<CharacterType>::parseIdentifierSlowCase): Ditto.
(JSC::Lexer<T>::parseString): Ditto.
(JSC::Lexer<T>::parseStringSlowCase): Ditto.
(JSC::Lexer<T>::parseTemplateLiteral): Ditto.
(JSC::Lexer<T>::parseHex): Ditto.
(JSC::Lexer<T>::parseBinary): Ditto.
(JSC::Lexer<T>::parseOctal): Ditto.
(JSC::Lexer<T>::parseDecimal): Ditto.
(JSC::Lexer<T>::scanRegExp): Ditto.
* Source/JavaScriptCore/parser/Lexer.h: Ditto.
* Source/JavaScriptCore/parser/ParserArena.h: Ditto.
* Source/JavaScriptCore/runtime/Identifier.cpp:
(JSC::Identifier::add8): Ditto.
* Source/JavaScriptCore/runtime/Identifier.h: Ditto.
* Source/JavaScriptCore/runtime/IdentifierInlines.h: Ditto.
* Source/JavaScriptCore/runtime/LiteralParser.cpp:
(JSC::LiteralParser<CharType>::tryJSONPParse): Ditto.
(JSC::LiteralParser<CharType>::makeJSString): Ditto.
* Source/JavaScriptCore/runtime/LiteralParser.h: Ditto.

Canonical link: https://commits.webkit.org/277185@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list