summaryrefslogtreecommitdiff
path: root/runtime/compiler_callbacks.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2022-09-28 10:28:49 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2022-09-29 17:26:45 +0000
commit57ff705fa56e66ceab13ad1ab534ff708dafad62 (patch)
treeea56df884835c23e875a6dedbd4d28551a1e7aab /runtime/compiler_callbacks.h
parent88ccd92e57804ed958dec9da0fc8b67b924b3db7 (diff)
Mark methods of unverified classes as uncompilable.
We were forgetting to mark them during FastVerify. Bug: 247097413 Test: 842-vdex-hard-failure Change-Id: I4e24e1c64f6a50f87eb4ce1d85face1619169915
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 c71d4ac1e2..f76ee660e0 100644
--- a/runtime/compiler_callbacks.h
+++ b/runtime/compiler_callbacks.h
@@ -48,6 +48,7 @@ class CompilerCallbacks {
virtual ~CompilerCallbacks() { }
virtual void AddUncompilableMethod(MethodReference ref) = 0;
+ virtual void AddUncompilableClass(ClassReference ref) = 0;
virtual void ClassRejected(ClassReference ref) = 0;
virtual verifier::VerifierDeps* GetVerifierDeps() const = 0;