[webkit-changes] [WebKit/WebKit] 97cc98: [JSC] Use WTF::opaque to enforce structure address...
Yusuke Suzuki
noreply at github.com
Wed Jul 24 14:00:00 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 97cc98d8c2a62cbc714fdf39b6277741c9fc87bd
https://github.com/WebKit/WebKit/commit/97cc98d8c2a62cbc714fdf39b6277741c9fc87bd
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-07-24 (Wed, 24 Jul 2024)
Changed paths:
M Source/JavaScriptCore/jit/JITOperations.cpp
Log Message:
-----------
[JSC] Use WTF::opaque to enforce structure address computation
https://bugs.webkit.org/show_bug.cgi?id=277008
rdar://132411354
Reviewed by Mark Lam.
In these particular functions, there is possibility that we end up keeping StructureID (not Structure*) on the register / stack via ensureStillAliveHere.
Use WTF::opaque to enforce the computation of the address so that we can ensure that address gets saved on the conservative roots.
* Source/JavaScriptCore/jit/JITOperations.cpp:
(JSC::JSC_DEFINE_JIT_OPERATION):
(JSC::JSC_DEFINE_NOEXCEPT_JIT_OPERATION):
Canonical link: https://commits.webkit.org/281315@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