summaryrefslogtreecommitdiff
path: root/dex2oat/driver/compiler_driver_test.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2020-06-05 18:34:49 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2020-06-09 12:28:42 +0000
commit1715efa0b46d57d587237829d1c0695aaca2c344 (patch)
tree61e7013808a8fa9c45384fa8d84bd7f3eb1eaf34 /dex2oat/driver/compiler_driver_test.cc
parent9922f00cf68aac69209216a0726a45eb6338763c (diff)
Add a new class status for verified with access checks.
At runtime, we won't run the verifier for those classes, but run with access checks enabled in the interpreter. Bug: 157265232 Test: test.py Change-Id: Ia087c3b6f9fcbd295307333e524945d844ef54dc
Diffstat (limited to 'dex2oat/driver/compiler_driver_test.cc')
-rw-r--r--dex2oat/driver/compiler_driver_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/dex2oat/driver/compiler_driver_test.cc b/dex2oat/driver/compiler_driver_test.cc
index 50cb292a4d..3096fc31b9 100644
--- a/dex2oat/driver/compiler_driver_test.cc
+++ b/dex2oat/driver/compiler_driver_test.cc
@@ -353,8 +353,7 @@ TEST_F(CompilerDriverVerifyTest, RetryVerifcationStatusCheckVerified) {
++i) {
const ClassStatus expected_status = enum_cast<ClassStatus>(i);
// Skip unsupported status that are not supposed to be ever recorded.
- if (expected_status == ClassStatus::kVerifyingAtRuntime ||
- expected_status == ClassStatus::kInitializing ||
+ if (expected_status == ClassStatus::kInitializing ||
expected_status == ClassStatus::kInitialized) {
continue;
}