summaryrefslogtreecommitdiff
path: root/runtime/compiler_callbacks.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2025-02-17 14:21:07 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2025-02-18 07:19:47 -0800
commitcb3c3b2819f326d54a6bd960a9a82c5290aa69b0 (patch)
tree1b71adef87aeebc9bdf92f6c66330c3a31fa1877 /runtime/compiler_callbacks.h
parentb4d4a7c4c368272c4368db35ddffbd8fcab544fb (diff)
Do not inline a method that was marked as un-compilable.
The compiler may have internally mark a method as not compilable. Do not clear the verification results from the compiler callbacks, we still need them during compilation. Test: 860-vdex-failure Bug: 395243275 Change-Id: I79ba61eb8a7ba6729b22c4c27fa83d8373fce03a
Diffstat (limited to 'runtime/compiler_callbacks.h')
-rw-r--r--runtime/compiler_callbacks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/compiler_callbacks.h b/runtime/compiler_callbacks.h
index e196b0b921..40692af5ca 100644
--- a/runtime/compiler_callbacks.h
+++ b/runtime/compiler_callbacks.h
@@ -54,6 +54,7 @@ class CompilerCallbacks {
virtual void AddUncompilableMethod(MethodReference ref) = 0;
virtual void AddUncompilableClass(ClassReference ref) = 0;
+ virtual bool IsUncompilableMethod(MethodReference ref) = 0;
virtual void ClassRejected(ClassReference ref) = 0;
virtual verifier::VerifierDeps* GetVerifierDeps() const = 0;