[webkit-changes] [WebKit/WebKit] b22c0a: [JSC] Introduce toInt64 and toUInt64 with a double

Commit Queue noreply at github.com
Fri Mar 15 10:48:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b22c0a8acec04b2e967aba07340fe8074982dbd2
      https://github.com/WebKit/WebKit/commit/b22c0a8acec04b2e967aba07340fe8074982dbd2
  Author: Yijia Huang <yijia_huang at apple.com>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/MathCommon.cpp
    M Source/JavaScriptCore/runtime/MathCommon.h

  Log Message:
  -----------
  [JSC] Introduce toInt64 and toUInt64 with a double
https://bugs.webkit.org/show_bug.cgi?id=271015
rdar://124643241

Reviewed by Yusuke Suzuki.

This patch extends the implementation of toInt32Internal for toInt64 and toUInt64.

* Source/JavaScriptCore/runtime/MathCommon.cpp:
(JSC::JSC_DEFINE_JIT_OPERATION):
* Source/JavaScriptCore/runtime/MathCommon.h:
(JSC::toIntImpl):
(JSC::toInt32):
(JSC::toInt64):
(JSC::toUInt64):
(JSC::toInt32Internal): Deleted.

Canonical link: https://commits.webkit.org/276173@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