diff options
author | David Brazdil <dbrazdil@google.com> | 2015-04-16 17:59:03 +0100 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2015-04-16 18:13:01 +0100 |
commit | 241a486267bdb59b32fe4c8db370eb936068fb39 (patch) | |
tree | ea8edc6b55285340ae58bc00f283e8fcaaff3c22 /compiler/optimizing/graph_visualizer.cc | |
parent | f90b8548e91392dfc24e8b0f7d3000f4f121c19d (diff) |
ART: Replace expensive calls to Covers in reg alloc
LiveInterval::Covers is implemented as a linear-time search over
liveness ranges and can therefore be rather expensive and should be
avoided unless necessary. This patch replaces calls to Covers when
searching for a sibling with the cheaper IsDefinedAt call.
Change-Id: I93fc73529c15a518335f4cbdc3a0def52d9501e5
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions