commit | 5e060ee6b9d1c32352f0fde4f949b95589602250 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Tue Feb 23 10:56:42 2021 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Tue Feb 23 17:48:14 2021 +0000 |
tree | 3ec7c92eaba9ffbcd2a9470db5cfcbc51f76d9c5 | |
parent | 0d768f126f6d9bae75614ea1d62776d166403cee [diff] [blame] |
Fix implicit null checks for InvokeVirtual. Fix braino from https://android-review.googlesource.com/1570261 . Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 172573708 Bug: 180527726 Change-Id: I430d3e7034a3f600674763986a324d80903aaf6c
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc index 4bb7ffc..215fa3e 100644 --- a/compiler/optimizing/nodes.cc +++ b/compiler/optimizing/nodes.cc
@@ -3204,6 +3204,8 @@ return false; } switch (GetIntrinsic()) { + case Intrinsics::kNone: + return true; case Intrinsics::kReferenceRefersTo: return true; default: