From 09ed1a3125849ec6ac07cb886e3c502e1dcfada2 Mon Sep 17 00:00:00 2001 From: Mark Mendell Date: Wed, 25 Mar 2015 08:30:06 -0400 Subject: [optimizing] Implement X86 intrinsic support Implement the supported intrinsics for X86. Enhance the graph visualizer to print for unallocated locations, to allow calling the graph dumper from within register allocation for debugging purposes. Change-Id: I3b0319eb70a9a4ea228f67065b4c52d13a1ae775 Signed-off-by: Mark Mendell --- compiler/optimizing/graph_visualizer.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/optimizing/graph_visualizer.cc') diff --git a/compiler/optimizing/graph_visualizer.cc b/compiler/optimizing/graph_visualizer.cc index cabfa488c0..49c0d3884f 100644 --- a/compiler/optimizing/graph_visualizer.cc +++ b/compiler/optimizing/graph_visualizer.cc @@ -149,6 +149,8 @@ class HGraphVisualizerPrinter : public HGraphVisitor { codegen_.DumpCoreRegister(output_, location.low()); output_ << " and "; codegen_.DumpCoreRegister(output_, location.high()); + } else if (location.IsUnallocated()) { + output_ << ""; } else { DCHECK(location.IsDoubleStackSlot()); output_ << "2x" << location.GetStackIndex() << "(sp)"; -- cgit v1.2.3