commit | b133ec6c39b4c953ed815ec731b0270f0d8f0ed9 | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Wed Mar 23 12:40:35 2016 +0000 |
committer | Roland Levillain <rpl@google.com> | Wed Mar 23 12:40:35 2016 +0000 |
tree | 1829ea0aa9d8351cf28e0ff55cc6aa25c7a248d6 | |
parent | 6fa06e6f5a92cd318021afad9b036126438b2de4 [diff] |
Ensure object ArraySet with null value does not need a type check. The art::PrepareForRegisterAllocation visitor can remove an art::BoundType instruction as value input of an art::ArraySet instruction, possibly replacing it with an art::NullConstant. If this happens, remove the need for a type check in this art::ArraySet. Bug: 27638110 Change-Id: I6270f8a8e22822a24d8a5919df427ca9c64d121b