Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fda68a8bb055d56008d965dedc091eaed2b2f7c6
      
https://github.com/WebKit/WebKit/commit/fda68a8bb055d56008d965dedc091eaed2b2f7c6
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

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

  Log Message:
  -----------
  [JSC] Air FixObviousSpills state should track aliased regs
https://bugs.webkit.org/show_bug.cgi?id=324695
rdar://187965961

Reviewed by Dan Hecht.

State::clobber(Reg) is very frequently called as it is called once per
def of regs in Air::Inst.

1. For regConst case, one reg can only have one const. So instead of
   having Vector of Reg and Const pair, we have std::array for const
   value with Reg-index. And we have ScalarRegisterSet for set constReg.
2. To quickly know whether we have RegSlot for a particular Reg, we
   maintain ScalarRegisterSet regSlotRegs bitset.

* Source/JavaScriptCore/b3/air/AirFixObviousSpills.cpp:

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



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

Reply via email to