diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-05-11 08:21:45 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-05-11 08:21:45 +0000 |
commit | 51dda39549033b3c50a7fce5522ffc81325db54b (patch) | |
tree | f3f34dcfbf1fb7e499e3f250541926c2e6494ad1 /compiler/optimizing/instruction_builder.h | |
parent | bae5e4e8e1cc93edd938ee0ee2303b7f5ad6b4dc (diff) | |
parent | 18259d7fb7164a5e029df4f883b3a79ccc2403e8 (diff) |
Merge "ART: Compiler support for const-method-type"
Diffstat (limited to 'compiler/optimizing/instruction_builder.h')
-rw-r--r-- | compiler/optimizing/instruction_builder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/instruction_builder.h b/compiler/optimizing/instruction_builder.h index f78829232d..3fde54cffa 100644 --- a/compiler/optimizing/instruction_builder.h +++ b/compiler/optimizing/instruction_builder.h @@ -45,6 +45,7 @@ class VariableSizedHandleScope; namespace mirror { class Class; +class MethodType; } // namespace mirror class HInstructionBuilder : public ValueObject { @@ -239,6 +240,9 @@ class HInstructionBuilder : public ValueObject { bool LoadClassNeedsAccessCheck(Handle<mirror::Class> klass) REQUIRES_SHARED(Locks::mutator_lock_); + // Builds a `HLoadMethodType` loading the given `proto_index`. + void BuildLoadMethodType(uint16_t proto_idx, uint32_t dex_pc); + // Returns the outer-most compiling method's class. ObjPtr<mirror::Class> GetOutermostCompilingClass() const; |