Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 97cc98d8c2a62cbc714fdf39b6277741c9fc87bd
      
https://github.com/WebKit/WebKit/commit/97cc98d8c2a62cbc714fdf39b6277741c9fc87bd
  Author: Yusuke Suzuki <ysuz...@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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to