From 56b9ee6fe1d6880c5fca0e7feb28b25a1ded2e2f Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Thu, 9 Oct 2014 11:47:51 +0100 Subject: Stop converting from Location to ManagedRegister. Now the source of truth is the Location object that knows which register (core, pair, fpu) it needs to refer to. Change-Id: I62401343d7479ecfb24b5ed161ec7829cda5a0b1 --- compiler/optimizing/graph_visualizer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/optimizing/graph_visualizer.cc') diff --git a/compiler/optimizing/graph_visualizer.cc b/compiler/optimizing/graph_visualizer.cc index 686a0b0031..b4eb89d30b 100644 --- a/compiler/optimizing/graph_visualizer.cc +++ b/compiler/optimizing/graph_visualizer.cc @@ -123,9 +123,9 @@ class HGraphVisualizerPrinter : public HGraphVisitor { void DumpLocation(Location location, Primitive::Type type) { if (location.IsRegister()) { if (type == Primitive::kPrimDouble || type == Primitive::kPrimFloat) { - codegen_.DumpFloatingPointRegister(output_, location.reg().RegId()); + codegen_.DumpFloatingPointRegister(output_, location.reg()); } else { - codegen_.DumpCoreRegister(output_, location.reg().RegId()); + codegen_.DumpCoreRegister(output_, location.reg()); } } else if (location.IsConstant()) { output_ << "constant"; -- cgit v1.2.3-59-g8ed1b