commit | ecf52dfa46addbbd5d1ee92a4bc9b7a9fd960629 | [log] [tgz] |
---|---|---|
author | David Brazdil <dbrazdil@google.com> | Mon Dec 14 16:58:08 2015 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Fri Dec 18 13:58:22 2015 +0000 |
tree | 581d6d5071b7a0450d676eee167aeb34812240fa | |
parent | 273941131aed5248a8c75b2d3f2952a88c7ab02d [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