From 9e050ab1a061d9660eb0c1daa01a823ad75b0f05 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Wed, 14 Jul 2021 14:59:25 +0100 Subject: 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 --- compiler/driver/compiler_options.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'compiler/driver/compiler_options.h') diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index da75d3741a..db17bda7ac 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -48,7 +48,6 @@ enum class InstructionSet; class InstructionSetFeatures; class ProfileCompilationInfo; class VerificationResults; -class VerifiedMethod; // Enum for CheckProfileMethodsCompiled. Outside CompilerOptions so it can be forward-declared. enum class ProfileMethodsCheck : uint8_t { @@ -298,14 +297,6 @@ class CompilerOptions final { const VerificationResults* GetVerificationResults() const; - const VerifiedMethod* GetVerifiedMethod(const DexFile* dex_file, uint32_t method_idx) const; - - // Checks if the specified method has been verified without failures. Returns - // false if the method is not in the verification results (GetVerificationResults). - bool IsMethodVerifiedWithoutFailures(uint32_t method_idx, - uint16_t class_def_idx, - const DexFile& dex_file) const; - bool ParseCompilerOptions(const std::vector& options, bool ignore_unrecognized, std::string* error_msg); -- cgit v1.2.3-59-g8ed1b