diff options
author | Anton Shamin <anton.shamin@intel.com> | 2016-05-16 16:44:13 +0600 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2016-06-07 10:36:45 +0100 |
commit | f479d7758dbe7e8740386fbf1d73e05b0277c5e3 (patch) | |
tree | 6f7624034c1d7d24e82db7a8a9ae68a2504cd7a4 /test/ProfileTestMultiDex/Main.java | |
parent | 841f999d9d487f42ac38bc62ddd8cf1c93ec0503 (diff) |
ART: ArrayGet hoisting restriction added.
Currently if we hoist ArrayGet from loop there is no guarantee
that insn will be executed at runtime. Because of that we could
face issues like crashes in generated code.
This patch introduces restriction for ArrayGet hoisting. We say
that ArrayGet execution is guaranteed at least one time if its bb
dominates all exit blocks.
Signed-off-by: Anton Shamin <anton.shamin@intel.com>
(cherry picked from commit f89381fed12faf96c45a83a989ae2fff82c05f3b)
BUG=29145171
Change-Id: Ia5664dedb1543d78a7b4038801b8372572f069f6
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions