Index: src/compiler/graph-visualizer.cc |
diff --git a/src/compiler/graph-visualizer.cc b/src/compiler/graph-visualizer.cc |
index 2e397648423635896aa29e289ac88197d4bef139..385fbc569c31a648cd5592156b09538e59068d11 100644 |
--- a/src/compiler/graph-visualizer.cc |
+++ b/src/compiler/graph-visualizer.cc |
@@ -581,9 +581,9 @@ void GraphC1Visualizer::PrintLiveRange(const LiveRange* range, const char* type, |
<< "\""; |
} else { |
index = AllocatedOperand::cast(top->GetSpillOperand())->index(); |
- if (top->kind() == FP_REGISTERS) { |
- os_ << " \"double_stack:" << index << "\""; |
- } else if (top->kind() == GENERAL_REGISTERS) { |
+ if (IsFloatingPoint(top->representation())) { |
+ os_ << " \"fp_stack:" << index << "\""; |
+ } else { |
os_ << " \"stack:" << index << "\""; |
} |
} |