Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Unified Diff: src/compiler/graph-visualizer.cc

Issue 1087133004: [turbofan] make LifetimePostion comparable (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/register-allocator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/graph-visualizer.cc
diff --git a/src/compiler/graph-visualizer.cc b/src/compiler/graph-visualizer.cc
index 3a8013b57a3b2f082bc0b44f8ff9b06534a764a9..b281cdba3ccc99386268e5f79db2ea6f91fef0b3 100644
--- a/src/compiler/graph-visualizer.cc
+++ b/src/compiler/graph-visualizer.cc
@@ -604,10 +604,10 @@ void GraphC1Visualizer::PrintSchedule(const char* phase,
int last_index = instruction_block->last_instruction_index();
PrintIntProperty(
"first_lir_id",
- LifetimePosition::GapFromInstructionIndex(first_index).Value());
+ LifetimePosition::GapFromInstructionIndex(first_index).value());
PrintIntProperty("last_lir_id",
LifetimePosition::InstructionFromInstructionIndex(
- last_index).Value());
+ last_index).value());
}
{
@@ -758,14 +758,14 @@ void GraphC1Visualizer::PrintLiveRange(LiveRange* range, const char* type) {
os_ << " " << parent_index << " " << hint_index;
for (auto interval = range->first_interval(); interval != nullptr;
interval = interval->next()) {
- os_ << " [" << interval->start().Value() << ", "
- << interval->end().Value() << "[";
+ os_ << " [" << interval->start().value() << ", "
+ << interval->end().value() << "[";
}
UsePosition* current_pos = range->first_pos();
while (current_pos != NULL) {
if (current_pos->RegisterIsBeneficial() || FLAG_trace_all_uses) {
- os_ << " " << current_pos->pos().Value() << " M";
+ os_ << " " << current_pos->pos().value() << " M";
}
current_pos = current_pos->next();
}
« no previous file with comments | « no previous file | src/compiler/register-allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698