summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/code_generator.h
diff options
context:
space:
mode:
authorOrion Hodson <oth@google.com>2018-04-12 11:18:23 +0100
committerOrion Hodson <oth@google.com>2018-05-10 15:04:09 +0100
commit18259d7fb7164a5e029df4f883b3a79ccc2403e8 (patch)
treeba378bfdef4127bb0607215186e3b150fd38bcdf /compiler/optimizing/code_generator.h
parent922501b4bbf724e4259477a27764291684eedffb (diff)
downloadart-18259d7fb7164a5e029df4f883b3a79ccc2403e8.tar.gz
art-18259d7fb7164a5e029df4f883b3a79ccc2403e8.tar.bz2
art-18259d7fb7164a5e029df4f883b3a79ccc2403e8.zip
ART: Compiler support for const-method-type
Implemented as a runtime call. Bug: 66890674 Test: art/test.py --target -r -t 979 Test: art/test.py --target --64 -r -t 979 Test: art/test.py --host -r -t 979 Change-Id: I4b3d3969d455d0198cfe122eea8abd54e0ea20ee
Diffstat (limited to 'compiler/optimizing/code_generator.h')
-rw-r--r--compiler/optimizing/code_generator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h
index f0c4ee01cc..7e84a448cc 100644
--- a/compiler/optimizing/code_generator.h
+++ b/compiler/optimizing/code_generator.h
@@ -564,6 +564,11 @@ class CodeGenerator : public DeletableArenaObject<kArenaAllocCodeGenerator> {
Location runtime_return_location);
void GenerateLoadClassRuntimeCall(HLoadClass* cls);
+ static void CreateLoadMethodTypeRuntimeCallLocationSummary(HLoadMethodType* method_type,
+ Location runtime_type_index_location,
+ Location runtime_return_location);
+ void GenerateLoadMethodTypeRuntimeCall(HLoadMethodType* method_type);
+
uint32_t GetBootImageOffset(HLoadClass* load_class);
uint32_t GetBootImageOffset(HLoadString* load_string);
uint32_t GetBootImageOffset(HInvokeStaticOrDirect* invoke);