summaryrefslogtreecommitdiff
path: root/dex2oat/driver/compiler_driver.h
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/driver/compiler_driver.h
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/driver/compiler_driver.h')
-rw-r--r--dex2oat/driver/compiler_driver.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/dex2oat/driver/compiler_driver.h b/dex2oat/driver/compiler_driver.h
index 18be20d0f0..3da8c3ae10 100644
--- a/dex2oat/driver/compiler_driver.h
+++ b/dex2oat/driver/compiler_driver.h
@@ -104,8 +104,7 @@ class CompilerDriver {
void PreCompile(jobject class_loader,
const std::vector<const DexFile*>& dex_files,
TimingLogger* timings,
- /*inout*/ HashSet<std::string>* image_classes,
- /*out*/ VerificationResults* verification_results)
+ /*inout*/ HashSet<std::string>* image_classes)
REQUIRES(!Locks::mutator_lock_);
void CompileAll(jobject class_loader,
const std::vector<const DexFile*>& dex_files,
@@ -241,13 +240,11 @@ class CompilerDriver {
// verification was successful.
bool FastVerify(jobject class_loader,
const std::vector<const DexFile*>& dex_files,
- TimingLogger* timings,
- /*out*/ VerificationResults* verification_results);
+ TimingLogger* timings);
void Verify(jobject class_loader,
const std::vector<const DexFile*>& dex_files,
- TimingLogger* timings,
- /*out*/ VerificationResults* verification_results);
+ TimingLogger* timings);
void VerifyDexFile(jobject class_loader,
const DexFile& dex_file,