[webkit-changes] [WebKit/WebKit] d7f086: [JSC] Make less conservative on isCanonicalNumeric...

Yusuke Suzuki noreply at github.com
Mon Jul 31 15:54:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d7f086248b902e1169a89efd78525b07b2481e54
      https://github.com/WebKit/WebKit/commit/d7f086248b902e1169a89efd78525b07b2481e54
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-07-31 (Mon, 31 Jul 2023)

  Changed paths:
    A JSTests/stress/typed-array-canonical.js
    M Source/JavaScriptCore/runtime/PropertyName.h

  Log Message:
  -----------
  [JSC] Make less conservative on isCanonicalNumericIndexString
https://bugs.webkit.org/show_bug.cgi?id=259664
rdar://113162575

Reviewed by Mark Lam.

This makes less conservative on isCanonicalNumericIndexString. We only care "Infinity" and "NaN" cases here.

* JSTests/stress/typed-array-canonical.js: Added.
(shouldBe):
* Source/JavaScriptCore/runtime/PropertyName.h:
(JSC::isCanonicalNumericIndexString):

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




More information about the webkit-changes mailing list