Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ae85b80e5fbe8bf0a8a942a12636dbe6ee4b4621
      
https://github.com/WebKit/WebKit/commit/ae85b80e5fbe8bf0a8a942a12636dbe6ee4b4621
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-08-12 (Wed, 12 Aug 2026)

  Changed paths:
    M Source/JavaScriptCore/b3/air/AirEliminateDeadCode.cpp

  Log Message:
  -----------
  [JSC] AirEliminateDeadCode does not need to remove elements from Vector
https://bugs.webkit.org/show_bug.cgi?id=321651
rdar://184776446

Reviewed by Yijia Huang.

This patch uses std::ranges::remove_if and std::views::reverse, so
Vector<Inst*> elements are just moved forward / backward to the
latter part of the range when it is "removed". And based on that we can
just shrink the size of std::span view.

* Source/JavaScriptCore/b3/air/AirEliminateDeadCode.cpp:
(JSC::B3::Air::eliminateDeadCode):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to