summaryrefslogtreecommitdiff
path: root/dex2oat/common_compiler_driver_test.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2021-07-14 14:59:25 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2021-07-14 17:13:08 +0000
commit9e050ab1a061d9660eb0c1daa01a823ad75b0f05 (patch)
tree714f2ba3b11406310416e85357f45450634846b2 /dex2oat/common_compiler_driver_test.cc
parent4f990714b13e0b4446305a5411648a1a9ae42a7a (diff)
Remove the need of VerifiedMethod in the compiler.
The compiler only needs to know if a method is compilable or not. So just record a set of uncompilable methods (in some cases, we cannot have an ArtMethod, but the method can still be compiled). Test: test.py Bug: 28313047 Change-Id: Ic4235bc8160ec91daa5ebf6504741089b43e99cb
Diffstat (limited to 'dex2oat/common_compiler_driver_test.cc')
-rw-r--r--dex2oat/common_compiler_driver_test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/dex2oat/common_compiler_driver_test.cc b/dex2oat/common_compiler_driver_test.cc
index 1f62cd7da5..2007c5a970 100644
--- a/dex2oat/common_compiler_driver_test.cc
+++ b/dex2oat/common_compiler_driver_test.cc
@@ -41,8 +41,7 @@ void CommonCompilerDriverTest::CompileAll(jobject class_loader,
compiler_driver_->PreCompile(class_loader,
dex_files,
timings,
- &compiler_options_->image_classes_,
- verification_results_.get());
+ &compiler_options_->image_classes_);
// Verification results in the `callback_` should not be used during compilation.
down_cast<QuickCompilerCallbacks*>(callbacks_.get())->SetVerificationResults(