diff options
| author | 2014-07-02 15:01:40 +0000 | |
|---|---|---|
| committer | 2014-07-01 17:52:00 +0000 | |
| commit | 395fa7286ca2c6cd3dd55c0eab5b0f69dc063fb8 (patch) | |
| tree | bbd9dddd0436da566365ada5deb1840e315e1b11 /compiler/optimizing/graph_visualizer.cc | |
| parent | d6ab04646d8eec6f24b200f8649f3d942d9ad17e (diff) | |
| parent | 412f10cfed002ab617c78f2621d68446ca4dd8bd (diff) | |
Merge "Support longs in the register allocator for x86_64."
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
| -rw-r--r-- | compiler/optimizing/graph_visualizer.cc | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/compiler/optimizing/graph_visualizer.cc b/compiler/optimizing/graph_visualizer.cc index a49ce64a2d..f033e2e22b 100644 --- a/compiler/optimizing/graph_visualizer.cc +++ b/compiler/optimizing/graph_visualizer.cc @@ -108,9 +108,11 @@ class HGraphVisualizerPrinter : public HGraphVisitor {        } else {          codegen_.DumpCoreRegister(output_, location.reg().RegId());        } -    } else { -      DCHECK(location.IsStackSlot()); +    } else if (location.IsStackSlot()) {        output_ << location.GetStackIndex() << "(sp)"; +    } else { +      DCHECK(location.IsDoubleStackSlot()); +      output_ << "2x" << location.GetStackIndex() << "(sp)";      }    } |