diff options
author | 2022-09-27 14:47:22 +0200 | |
---|---|---|
committer | 2022-09-30 09:01:08 +0200 | |
commit | d46716b7fae296d48dff663ced83889a7e2a9a11 (patch) | |
tree | ae4729d8711ffd040c451548b092355313e81f52 /compiler/common_compiler_test.cc | |
parent | 35be57fee6702d3847177343ab91899ba402eb9c (diff) |
Move `VerificationResults` to dex2oat/.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Change-Id: Iff62c9b8c6e553113cbd12765bf0f691bbe24227
Diffstat (limited to 'compiler/common_compiler_test.cc')
-rw-r--r-- | compiler/common_compiler_test.cc | 5 |
1 files changed, 0 insertions, 5 deletions
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<mirror::DexCache> dex_cache = hs.NewHandle(GetClassLinker()->FindDexCache(self, dex_file)); Handle<mirror::ClassLoader> 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); { |