commit | 4f995e9e80fd56c56d3403bec54cde0f93986de0 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Mon Dec 14 16:58:08 2015 +0000 |
committer | The Android Automerger <android-build@google.com> | Fri Dec 18 11:48:03 2015 -0800 |
tree | e11c22c1aad9561a3dcc1de7eae0cbd7e208cb30 | |
parent | c2337b2bf84e39019e45e8de6503785d977cec14 [diff] |
ART: Fix bug in LSE LSE will not remove a load if the type of the heap value does not match the type of the load. This was a workaround for b/22538329 but backfires for integers. For example, 'IntConstant 0' has type int but can be retrieved from a boolean field. The corresponding store is removed but not the load, loading uninitialized memory. This fixes the issue until the workaround is not needed any more. Change-Id: I2a47783e8d5f93104854e5216b69b6c220832c76