summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2017-06-14 18:07:03 +0100
committerVladimir Marko <vmarko@google.com>2017-06-15 10:11:26 +0100
commit9ac7749591c4341f5bf7d17af59d3aa6366487f1 (patch)
tree509126cecfa61b338c6c13d554f9583b1e99cf36 /compiler/optimizing/graph_visualizer.cc
parente1993c7d74fc60c468f55da78da490a5ce9c2f91 (diff)
Clean up ArraySlice<>.
Remove constructors that take ranges (one of them created ambiguity with the constructor taking just the length) and add SubArray() to serve as a replacement API. Remove the AsRange() function as the translation to the IterationRange<> seems totally unnecessary, we can simply return ArraySlice<> from the functions that used it. Remove the At() function as the comparison with the std::vector<>::at() is confusing given that we do not use C++ exceptions. Add some standard container API, i.e. nested types and more functions. Test: m test-art-host-gtest Test: testrunner.py --host Change-Id: Ifcd39222cf8f36b7ebf8029398ed7fc67aafcaf0
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions