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

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

Issue 1041163002: [turbofan] smash GapInstruction into Instruction (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: arm compile Created 5 years, 9 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 | « src/compiler/code-generator.cc ('k') | src/compiler/instruction.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 2d313f356d4bd368a9fd2e26c3ff440eb14626ae..339750985201ee54ff42b54ddefe3b1b885fa0f1 100644
--- a/src/compiler/graph-visualizer.cc
+++ b/src/compiler/graph-visualizer.cc
@@ -593,10 +593,12 @@ void GraphC1Visualizer::PrintSchedule(const char* phase,
if (instruction_block->code_start() >= 0) {
int first_index = instruction_block->first_instruction_index();
int last_index = instruction_block->last_instruction_index();
- PrintIntProperty("first_lir_id", LifetimePosition::FromInstructionIndex(
- first_index).Value());
- PrintIntProperty("last_lir_id", LifetimePosition::FromInstructionIndex(
- last_index).Value());
+ PrintIntProperty(
+ "first_lir_id",
+ LifetimePosition::GapFromInstructionIndex(first_index).Value());
+ PrintIntProperty("last_lir_id",
+ LifetimePosition::InstructionFromInstructionIndex(
+ last_index).Value());
}
{
« no previous file with comments | « src/compiler/code-generator.cc ('k') | src/compiler/instruction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698