commit | fb337ea53d1e6fe68b24217a9ea95e9f544ef697 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Wed Nov 25 15:25:10 2015 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Tue Dec 01 11:38:59 2015 +0000 |
tree | b1d6f4225473c613b1df7f179d0146e7d208c297 | |
parent | b4536b7de576b20c74c612406c5d3132998075ef [diff] |
Move PC-relative addressing bases to a better position. Move the platform-specific HX86ComputeBaseMethodAddress and HArmDexCacheArraysBase to the latest dominator of their uses outside any loop. This brings the base closer to the first use (previously, it was in the entry block) and relieves some pressure on the register allocator while avoiding recalculation of the base in a loop. Change-Id: I231aa81eb5b4de9af2d0167054d06b65eb18a636