[webkit-changes] [WebKit/WebKit] aa62ce: BYTECODE_HELPER_ID LLint opcodes need look up for ...
Commit Queue
noreply at github.com
Wed Dec 13 15:53:39 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: aa62ce7b905994f278e4661ae4c7425ce400be01
https://github.com/WebKit/WebKit/commit/aa62ce7b905994f278e4661ae4c7425ce400be01
Author: Mark Lam <mark.lam at apple.com>
Date: 2023-12-13 (Wed, 13 Dec 2023)
Changed paths:
M Source/JavaScriptCore/llint/LLIntOpcode.h
M Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
Log Message:
-----------
BYTECODE_HELPER_ID LLint opcodes need look up for wide versions.
https://bugs.webkit.org/show_bug.cgi?id=266294
rdar://119563251
Reviewed by Justin Michaud.
FOR_EACH_BYTECODE_HELPER_ID was mistakenly lumped in with FOR_EACH_LLINT_NATIVE_HELPER, which
does not populate their entries in g_opcodeMapWide16 and g_opcodeMapWide32. This patch fixes
that.
This was causing CLoop runs to crash on nullptr derefs on these non-initialized entries.
* Source/JavaScriptCore/llint/LLIntOpcode.h:
* Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:
(JSC::CLoop::execute):
Canonical link: https://commits.webkit.org/272012@main
More information about the webkit-changes
mailing list