Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a3aa7524f30f91d081faf7779ee32243241e8a37
https://github.com/WebKit/WebKit/commit/a3aa7524f30f91d081faf7779ee32243241e8a37
Author: Sosuke Suzuki <[email protected]>
Date: 2026-05-17 (Sun, 17 May 2026)
Changed paths:
M Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp
M Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h
M Source/JavaScriptCore/parser/ASTBuilder.h
M Source/JavaScriptCore/parser/Lexer.cpp
M Source/JavaScriptCore/runtime/HashMapHelper.h
M Source/JavaScriptCore/runtime/MathCommon.cpp
M Source/JavaScriptCore/runtime/TypedArrayAdaptors.h
Log Message:
-----------
[JSC] Use `truncateDoubleToInt32`/`64()` in more round-trip double-to-int
checks
https://bugs.webkit.org/show_bug.cgi?id=314884
Reviewed by Yusuke Suzuki.
This patch changes to use `truncateDoubleToInt32` and `truncateDoubleToInt64` in
more round-trip double-to-int checks.
* Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:
(JSC::processClauseList):
* Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h:
(JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):
* Source/JavaScriptCore/parser/ASTBuilder.h:
(JSC::ASTBuilder::makeDivNode):
* Source/JavaScriptCore/parser/Lexer.cpp:
(JSC::tokenTypeForIntegerLikeToken):
* Source/JavaScriptCore/runtime/HashMapHelper.h:
(JSC::normalizeMapKey):
* Source/JavaScriptCore/runtime/MathCommon.cpp:
(JSC::isStrictInt32):
* Source/JavaScriptCore/runtime/TypedArrayAdaptors.h:
(JSC::IntegralTypedArrayAdaptor::toNativeFromDouble):
Canonical link: https://commits.webkit.org/313375@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications