| Index: src/compiler/graph-visualizer.cc
|
| diff --git a/src/compiler/graph-visualizer.cc b/src/compiler/graph-visualizer.cc
|
| index 0d041ec560f43de13f1a25b75d9835ddafd32a1c..173db9ca8677ef50490a7d54c908d8ad5023b997 100644
|
| --- a/src/compiler/graph-visualizer.cc
|
| +++ b/src/compiler/graph-visualizer.cc
|
| @@ -407,7 +407,7 @@ class GraphC1Visualizer {
|
| void PrintSchedule(const char* phase, const Schedule* schedule,
|
| const SourcePositionTable* positions,
|
| const InstructionSequence* instructions);
|
| - void PrintAllocator(const char* phase, const RegisterAllocator* allocator);
|
| + void PrintLiveRanges(const char* phase, const RegisterAllocationData* data);
|
| Zone* zone() const { return zone_; }
|
|
|
| private:
|
| @@ -693,20 +693,20 @@ void GraphC1Visualizer::PrintSchedule(const char* phase,
|
| }
|
|
|
|
|
| -void GraphC1Visualizer::PrintAllocator(const char* phase,
|
| - const RegisterAllocator* allocator) {
|
| +void GraphC1Visualizer::PrintLiveRanges(const char* phase,
|
| + const RegisterAllocationData* data) {
|
| Tag tag(this, "intervals");
|
| PrintStringProperty("name", phase);
|
|
|
| - for (auto range : allocator->fixed_double_live_ranges()) {
|
| + for (auto range : data->fixed_double_live_ranges()) {
|
| PrintLiveRange(range, "fixed");
|
| }
|
|
|
| - for (auto range : allocator->fixed_live_ranges()) {
|
| + for (auto range : data->fixed_live_ranges()) {
|
| PrintLiveRange(range, "fixed");
|
| }
|
|
|
| - for (auto range : allocator->live_ranges()) {
|
| + for (auto range : data->live_ranges()) {
|
| PrintLiveRange(range, "object");
|
| }
|
| }
|
| @@ -791,9 +791,10 @@ std::ostream& operator<<(std::ostream& os, const AsC1V& ac) {
|
| }
|
|
|
|
|
| -std::ostream& operator<<(std::ostream& os, const AsC1VAllocator& ac) {
|
| +std::ostream& operator<<(std::ostream& os,
|
| + const AsC1VRegisterAllocationData& ac) {
|
| Zone tmp_zone;
|
| - GraphC1Visualizer(os, &tmp_zone).PrintAllocator(ac.phase_, ac.allocator_);
|
| + GraphC1Visualizer(os, &tmp_zone).PrintLiveRanges(ac.phase_, ac.data_);
|
| return os;
|
| }
|
|
|
|
|