[webkit-changes] [WebKit/WebKit] 4b5c73: [JSC] Use normal ImpureNaN propagation for Negatio...
Yusuke Suzuki
noreply at github.com
Mon Mar 24 12:15:43 PDT 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4b5c73a50f805ea1bb49c5dba2634d7d22222e19
https://github.com/WebKit/WebKit/commit/4b5c73a50f805ea1bb49c5dba2634d7d22222e19
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2025-03-24 (Mon, 24 Mar 2025)
Changed paths:
M Source/JavaScriptCore/bytecode/SpeculatedType.cpp
M Source/JavaScriptCore/runtime/JSCJSValue.h
M Source/JavaScriptCore/runtime/PureNaN.h
Log Message:
-----------
[JSC] Use normal ImpureNaN propagation for Negation / Abs / Rounding
https://bugs.webkit.org/show_bug.cgi?id=290275
rdar://147666753
Reviewed by Keith Miller.
We can just follow to the rule we are using in C++. Negation, Abs,
Rounding should pollute the result only when we can see ImpureNaN.
* Source/JavaScriptCore/bytecode/SpeculatedType.cpp:
(JSC::typeOfDoubleNegation):
(JSC::typeOfDoubleRounding):
* Source/JavaScriptCore/runtime/JSCJSValue.h:
* Source/JavaScriptCore/runtime/PureNaN.h:
(JSC::isImpureNaN):
Canonical link: https://commits.webkit.org/292606@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