From d46716b7fae296d48dff663ced83889a7e2a9a11 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 27 Sep 2022 14:47:22 +0200 Subject: Move `VerificationResults` to dex2oat/. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Change-Id: Iff62c9b8c6e553113cbd12765bf0f691bbe24227 --- compiler/common_compiler_test.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'compiler/common_compiler_test.cc') diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc index a63d21d4ca..7d7b70bb6d 100644 --- a/compiler/common_compiler_test.cc +++ b/compiler/common_compiler_test.cc @@ -30,7 +30,6 @@ #include "class_linker.h" #include "compiled_method-inl.h" #include "dex/descriptors_names.h" -#include "dex/verification_results.h" #include "driver/compiled_method_storage.h" #include "driver/compiler_options.h" #include "jni/java_vm_ext.h" @@ -207,7 +206,6 @@ void CommonCompilerTestImpl::OverrideInstructionSetFeatures(InstructionSet instr void CommonCompilerTestImpl::SetUpRuntimeOptionsImpl() { compiler_options_.reset(new CompilerOptions); - verification_results_.reset(new VerificationResults()); ApplyInstructionSet(); } @@ -221,7 +219,6 @@ void CommonCompilerTestImpl::SetCompilerKind(Compiler::Kind compiler_kind) { void CommonCompilerTestImpl::TearDown() { code_and_metadata_.clear(); - verification_results_.reset(); compiler_options_.reset(); } @@ -241,7 +238,6 @@ void CommonCompilerTestImpl::CompileMethod(ArtMethod* method) { Handle dex_cache = hs.NewHandle(GetClassLinker()->FindDexCache(self, dex_file)); Handle class_loader = hs.NewHandle(method->GetClassLoader()); - compiler_options_->verification_results_ = verification_results_.get(); if (method->IsNative()) { compiled_method = compiler->JniCompile(method->GetAccessFlags(), method->GetDexMethodIndex(), @@ -257,7 +253,6 @@ void CommonCompilerTestImpl::CompileMethod(ArtMethod* method) { dex_file, dex_cache); } - compiler_options_->verification_results_ = nullptr; } CHECK(method != nullptr); { -- cgit v1.2.3-59-g8ed1b