Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b51df8f033c8728c1c3053ce55f0677f2bc8b552
      
https://github.com/WebKit/WebKit/commit/b51df8f033c8728c1c3053ce55f0677f2bc8b552
  Author: Yusuke Suzuki <[email protected]>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M Source/JavaScriptCore/bytecode/CallLinkInfo.cpp
    M Source/JavaScriptCore/jit/PolymorphicCallStubRoutine.cpp
    M Source/JavaScriptCore/jit/PolymorphicCallStubRoutine.h

  Log Message:
  -----------
  [JSC] Ensure PolymorphicCallNode is unlinked when it is detached from 
CallLinkInfo
https://bugs.webkit.org/show_bug.cgi?id=294469
rdar://153330169

Reviewed by Yijia Huang and Keith Miller.

Let's ensure that PolymorphicCallNode is unlinked when it is detached
from owner CallLinkInfo eagerly before it gets destroyed.

* Source/JavaScriptCore/bytecode/CallLinkInfo.cpp:
(JSC::CallLinkInfo::clearStub):
* Source/JavaScriptCore/jit/PolymorphicCallStubRoutine.cpp:
(JSC::PolymorphicCallNode::unlinkForcefully):
(JSC::PolymorphicCallStubRoutine::unlinkForcefully):
(JSC::PolymorphicCallNode::clear): Deleted.
(JSC::PolymorphicCallStubRoutine::clearCallNodesFor): Deleted.
* Source/JavaScriptCore/jit/PolymorphicCallStubRoutine.h:

Canonical link: https://commits.webkit.org/296216@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to