Index: src/compiler/graph-visualizer.cc |
diff --git a/src/compiler/graph-visualizer.cc b/src/compiler/graph-visualizer.cc |
index abdd1c9210af029455a1c9936794f5470f9524c5..3cec026eef4eb1f47fe767cd1430ec0c9c1bc814 100644 |
--- a/src/compiler/graph-visualizer.cc |
+++ b/src/compiler/graph-visualizer.cc |
@@ -698,13 +698,13 @@ void GraphC1Visualizer::PrintLiveRange(LiveRange* range, const char* type) { |
PrintIndent(); |
os_ << range->id() << " " << type; |
if (range->HasRegisterAssigned()) { |
- InstructionOperand* op = range->CreateAssignedOperand(zone()); |
- int assigned_reg = op->index(); |
- if (op->IsDoubleRegister()) { |
+ InstructionOperand op = range->GetAssignedOperand(); |
+ int assigned_reg = op.index(); |
+ if (op.IsDoubleRegister()) { |
os_ << " \"" << DoubleRegister::AllocationIndexToString(assigned_reg) |
<< "\""; |
} else { |
- DCHECK(op->IsRegister()); |
+ DCHECK(op.IsRegister()); |
os_ << " \"" << Register::AllocationIndexToString(assigned_reg) << "\""; |
} |
} else if (range->IsSpilled()) { |