commit | 9a9ab61ca425298f161872ed8efcf0a89b158ab2 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Tue Mar 03 10:44:24 2015 +0000 |
committer | David Brazdil <dbrazdil@google.com> | Thu Mar 05 14:27:31 2015 +0000 |
tree | 2b1ddc995cba6ab9fa9fce2b04463dd9b504307e | |
parent | af8db2ea18135588b267fe9a0b2f7af734b906cc [diff] |
ART: Optimize iteration of safepoints The LiveInterval::Covers method is optimized for multiple calls with non-decreasing positions. This patch reverts the order of iteration over safepoints in RegisterAllocator::ConnectSiblings to capitalize on this effect. Change-Id: Ieb70eb9d5c0a06ee79379aab6c87cb3290c15bf7