Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 127c1d5c4d40d679654c5f0cc0f973e8aa2abf65
https://github.com/WebKit/WebKit/commit/127c1d5c4d40d679654c5f0cc0f973e8aa2abf65
Author: Yusuke Suzuki <[email protected]>
Date: 2025-11-19 (Wed, 19 Nov 2025)
Changed paths:
A JSTests/stress/switch-imm-int32-max.js
M Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h
M Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
M Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
M Source/JavaScriptCore/llint/LowLevelInterpreter64.asm
M Source/JavaScriptCore/runtime/CachedTypes.cpp
Log Message:
-----------
[JSC] Have m_isList flag separately in UnlinkedSimpleJumpTable
https://bugs.webkit.org/show_bug.cgi?id=298628
rdar://159953039
Reviewed by Yijia Huang.
UnlinkedSimpleJumpTable should have a separate flag for m_isList not to
confuse with a switch which only has INT32_MAX entry for `case` clause.
* JSTests/stress/switch-imm-int32-max.js: Added.
(try.switch):
(catch):
* Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h:
(JSC::UnlinkedSimpleJumpTable::isList const):
* Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::endSwitch):
* Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm:
* Source/JavaScriptCore/llint/LowLevelInterpreter64.asm:
* Source/JavaScriptCore/runtime/CachedTypes.cpp:
(JSC::CachedSimpleJumpTable::encode):
(JSC::CachedSimpleJumpTable::decode const):
Originally-landed-as: 297297.406@safari-7622-branch (9585bfc103fc).
rdar://164214760
Canonical link: https://commits.webkit.org/303267@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications