commit | 241a486267bdb59b32fe4c8db370eb936068fb39 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Thu Apr 16 17:59:03 2015 +0100 |
committer | David Brazdil <dbrazdil@google.com> | Thu Apr 16 18:13:01 2015 +0100 |
tree | ea8edc6b55285340ae58bc00f283e8fcaaff3c22 | |
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