summaryrefslogtreecommitdiff
path: root/runtime/noop_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/noop_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/noop_compiler_callbacks.h')
-rw-r--r--runtime/noop_compiler_callbacks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/noop_compiler_callbacks.h b/runtime/noop_compiler_callbacks.h
index f415831fee..aed00149a6 100644
--- a/runtime/noop_compiler_callbacks.h
+++ b/runtime/noop_compiler_callbacks.h
@@ -27,6 +27,7 @@ class NoopCompilerCallbacks final : public CompilerCallbacks {
~NoopCompilerCallbacks() {}
void AddUncompilableMethod(MethodReference ref ATTRIBUTE_UNUSED) override {}
+ void AddUncompilableClass(ClassReference ref ATTRIBUTE_UNUSED) override {}
void ClassRejected(ClassReference ref ATTRIBUTE_UNUSED) override {}
verifier::VerifierDeps* GetVerifierDeps() const override { return nullptr; }