[webkit-changes] [WebKit/WebKit] 6485d9: Leverage jsNontrivialString() in LiteralParser<Cha...

Chris Dumez noreply at github.com
Mon Mar 27 12:38:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6485d967ac752d2500b8bd6cb087575ef82d376e
      https://github.com/WebKit/WebKit/commit/6485d967ac752d2500b8bd6cb087575ef82d376e
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-03-27 (Mon, 27 Mar 2023)

  Changed paths:
    M Source/JavaScriptCore/runtime/LiteralParser.cpp

  Log Message:
  -----------
  Leverage jsNontrivialString() in LiteralParser<CharType>::makeJSString()
https://bugs.webkit.org/show_bug.cgi?id=254479

Reviewed by Yusuke Suzuki.

We know the string length is greater than 10.

* Source/JavaScriptCore/runtime/LiteralParser.cpp:
(JSC::LiteralParser<CharType>::makeJSString):

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




More information about the webkit-changes mailing list