commit | 2b8b6040d0d34f40e3db71f0e4b1c369fd1f02c6 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Wed Jun 29 14:59:07 2016 +0100 |
committer | Vladimir Marko <vmarko@google.com> | Wed Jun 29 17:51:50 2016 +0100 |
tree | bc70900b08b5f491fcfcab41b28222020ec75c60 | |
parent | 0748ed9fcf63b8fc23e0d8f019ddc933f47fda10 [diff] |
Fix merging HLoadClass with HNewInstance. Do not merge HLoadClass with HNewInstance if they do not come from the same dex instruction. This is the same check as for moving the clinit check responsibility around. Test: Added a regression test, run standard ART test suite plus gcstress and ndebug modes on host and Nexus 9. Bug: 29570861 Bug: 29321958 (cherry picked from commit c7591b4c0dd405a766f4d701deea6c3750101978) Change-Id: I0f019c36dd991889caad2666e61bbcc6d9d9c91f