commit | 3676b36e832961426b285ec6a58e2b4c5a4b7816 | [log] [tgz] |
---|---|---|
author | Ulya Trafimovich <skvadrik@google.com> | Thu Sep 02 16:13:51 2021 +0100 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Thu Sep 02 17:17:22 2021 +0000 |
tree | 758da9350ed0db2ae0caf956971fb68c53ad2021 | |
parent | 315cf0c115ad34f5f7e7b63cf80cf40009b6ee15 [diff] |
Clean up compile time null checks for VarHandle intrinsics. A few small changes: - In the instruction simplifier, re-do the `object->IsNullConstant()` check as this might have changed after the inliner. - Make `CanEnsureNotNullAt()` a static member: it is used locally and should have local visibility, which was accidentally changed. Bug: 191765508 Test: art/test.py --host -r Change-Id: Ib7d88ded4cd73543f66cae75117679a40021c84c