Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 373edfa62638fedeafbb74eb6892cfb247cde835
https://github.com/WebKit/WebKit/commit/373edfa62638fedeafbb74eb6892cfb247cde835
Author: Dan Hecht <[email protected]>
Date: 2026-02-13 (Fri, 13 Feb 2026)
Changed paths:
M Source/JavaScriptCore/b3/air/AirAllocateRegistersByGreedy.cpp
Log Message:
-----------
[JSC] Refactor GreedyAllocator::allocateRegisters()
https://bugs.webkit.org/show_bug.cgi?id=307826
rdar://170333466
Reviewed by Mark Lam.
No functional change, but group each stage into a subroutine to
make it easier to see how time is spent between stages under a
callstack profiler.
* Source/JavaScriptCore/b3/air/AirAllocateRegistersByGreedy.cpp:
(JSC::B3::Air::Greedy::GreedyAllocator::setStageAndEnqueue):
(JSC::B3::Air::Greedy::GreedyAllocator::allocateRegisters):
(JSC::B3::Air::Greedy::GreedyAllocator::doStageTryAllocate):
(JSC::B3::Air::Greedy::GreedyAllocator::doStageTrySplit):
(JSC::B3::Air::Greedy::GreedyAllocator::doStageSpill):
Canonical link: https://commits.webkit.org/307514@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications