[webkit-changes] [WebKit/WebKit] fe53fc: [JSC][GreedyRegAlloc] Add GreedyAllocator::dump() ...

Dan Hecht noreply at github.com
Mon Feb 24 12:57:34 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fe53fcca62761d8a3da3103eaacf4b6cf002bf82
      https://github.com/WebKit/WebKit/commit/fe53fcca62761d8a3da3103eaacf4b6cf002bf82
  Author: Dan Hecht <dan.hecht at apple.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

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

  Log Message:
  -----------
  [JSC][GreedyRegAlloc] Add GreedyAllocator::dump() for easier debugging
https://bugs.webkit.org/show_bug.cgi?id=288391
rdar://145498276

Reviewed by Yijia Huang.

Add GreedyAllocator::dump() for an easy way to dump all the
internal state of the allocator.

* Source/JavaScriptCore/b3/air/AirAllocateRegistersByGreedy.cpp:
(JSC::B3::Air::Greedy::LiveRange::size const):
(JSC::B3::Air::Greedy::RegisterRange::isEmpty const):
(JSC::B3::Air::Greedy::GreedyAllocator::run):
(JSC::B3::Air::Greedy::GreedyAllocator::dump const):
(JSC::B3::Air::Greedy::GreedyAllocator::dumpRegRanges const):
(JSC::B3::Air::Greedy::GreedyAllocator::buildLiveRanges):
(JSC::B3::Air::Greedy::GreedyAllocator::allocateRegisters):
(JSC::B3::Air::Greedy::GreedyAllocator::assignRegisters):
(JSC::B3::Air::Greedy::LiveRange::size): Deleted.
(JSC::B3::Air::Greedy::GreedyAllocator::dumpRegRanges): Deleted.

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



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


More information about the webkit-changes mailing list