diff options
author | 2021-07-14 14:59:25 +0100 | |
---|---|---|
committer | 2021-07-14 17:13:08 +0000 | |
commit | 9e050ab1a061d9660eb0c1daa01a823ad75b0f05 (patch) | |
tree | 714f2ba3b11406310416e85357f45450634846b2 /runtime/noop_compiler_callbacks.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/noop_compiler_callbacks.h')
-rw-r--r-- | runtime/noop_compiler_callbacks.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/noop_compiler_callbacks.h b/runtime/noop_compiler_callbacks.h index 439f4856a6..f415831fee 100644 --- a/runtime/noop_compiler_callbacks.h +++ b/runtime/noop_compiler_callbacks.h @@ -26,9 +26,7 @@ class NoopCompilerCallbacks final : public CompilerCallbacks { NoopCompilerCallbacks() : CompilerCallbacks(CompilerCallbacks::CallbackMode::kCompileApp) {} ~NoopCompilerCallbacks() {} - void MethodVerified(verifier::MethodVerifier* verifier ATTRIBUTE_UNUSED) override { - } - + void AddUncompilableMethod(MethodReference ref ATTRIBUTE_UNUSED) override {} void ClassRejected(ClassReference ref ATTRIBUTE_UNUSED) override {} verifier::VerifierDeps* GetVerifierDeps() const override { return nullptr; } |