diff options
author | 2025-02-17 14:21:07 +0000 | |
---|---|---|
committer | 2025-02-18 07:19:47 -0800 | |
commit | cb3c3b2819f326d54a6bd960a9a82c5290aa69b0 (patch) | |
tree | 1b71adef87aeebc9bdf92f6c66330c3a31fa1877 /dex2oat/dex/quick_compiler_callbacks.h | |
parent | b4d4a7c4c368272c4368db35ddffbd8fcab544fb (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 'dex2oat/dex/quick_compiler_callbacks.h')
-rw-r--r-- | dex2oat/dex/quick_compiler_callbacks.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dex2oat/dex/quick_compiler_callbacks.h b/dex2oat/dex/quick_compiler_callbacks.h index bb5bed38a2..9e82f2b99b 100644 --- a/dex2oat/dex/quick_compiler_callbacks.h +++ b/dex2oat/dex/quick_compiler_callbacks.h @@ -37,6 +37,7 @@ class QuickCompilerCallbacks final : public CompilerCallbacks { void AddUncompilableMethod(MethodReference ref) override; void AddUncompilableClass(ClassReference ref) override; + bool IsUncompilableMethod(MethodReference ref) override; void ClassRejected(ClassReference ref) override; |