summaryrefslogtreecommitdiff
path: root/compiler/optimizing/sharpening.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2020-09-09 13:57:17 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2020-09-11 13:20:58 +0000
commit1fef877c66f066f01653ea98bfefe29304198193 (patch)
tree65561c8b15844cabe32728b61d1e5d586976acf3 /compiler/optimizing/sharpening.h
parenta41ea2708d143b5982f1969864513b62706d11d4 (diff)
Handle more cases of super calls in the compiler.
Add support for calling super methods that are not referenced within the compiling dex file. Test: 808-checker-invoke-super Test: 809-checker-invoke-super-bss Change-Id: Ib103f818ac8b612a79b6b18cc8eda81131bb3149
Diffstat (limited to 'compiler/optimizing/sharpening.h')
-rw-r--r--compiler/optimizing/sharpening.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/sharpening.h b/compiler/optimizing/sharpening.h
index b81867201f..b48cd4b9b3 100644
--- a/compiler/optimizing/sharpening.h
+++ b/compiler/optimizing/sharpening.h
@@ -31,7 +31,7 @@ class HSharpening {
public:
// Used by the builder and InstructionSimplifier.
static HInvokeStaticOrDirect::DispatchInfo SharpenInvokeStaticOrDirect(
- ArtMethod* callee, CodeGenerator* codegen);
+ ArtMethod* callee, bool has_method_id, CodeGenerator* codegen);
// Used by the builder and the inliner.
static HLoadClass::LoadKind ComputeLoadClassKind(HLoadClass* load_class,