diff options
author | 2021-07-14 14:59:25 +0100 | |
---|---|---|
committer | 2021-07-14 17:13:08 +0000 | |
commit | 9e050ab1a061d9660eb0c1daa01a823ad75b0f05 (patch) | |
tree | 714f2ba3b11406310416e85357f45450634846b2 /runtime/verifier/method_verifier.h | |
parent | 4f990714b13e0b4446305a5411648a1a9ae42a7a (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 'runtime/verifier/method_verifier.h')
-rw-r--r-- | runtime/verifier/method_verifier.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/runtime/verifier/method_verifier.h b/runtime/verifier/method_verifier.h index 0e59251a15..858be17dbc 100644 --- a/runtime/verifier/method_verifier.h +++ b/runtime/verifier/method_verifier.h @@ -39,7 +39,6 @@ namespace art { class ClassLinker; -class CompilerCallbacks; class DexFile; class Instruction; struct ReferenceMap2Visitor; @@ -178,7 +177,6 @@ class MethodVerifier { void VisitRoots(RootVisitor* visitor, const RootInfo& roots) REQUIRES_SHARED(Locks::mutator_lock_); - // Accessors used by the compiler via CompilerCallback const CodeItemDataAccessor& CodeItem() const { return code_item_accessor_; } @@ -257,7 +255,6 @@ class MethodVerifier { const dex::ClassDef& class_def_idx, const dex::CodeItem* code_item, uint32_t method_access_flags, - CompilerCallbacks* callbacks, bool allow_soft_failures, HardFailLogMode log_level, bool need_precise_constants, @@ -278,7 +275,6 @@ class MethodVerifier { const dex::ClassDef& class_def_idx, const dex::CodeItem* code_item, uint32_t method_access_flags, - CompilerCallbacks* callbacks, bool allow_soft_failures, HardFailLogMode log_level, bool need_precise_constants, |