diff options
| author | 2018-05-15 11:35:20 +0000 | |
|---|---|---|
| committer | 2018-05-15 11:35:20 +0000 | |
| commit | 00e15d651e705640d4fdf206faf8317d69b20758 (patch) | |
| tree | fc8dd0911ee17433a679a052f58c8eb8c2d0b75f /compiler/optimizing/instruction_builder.h | |
| parent | 6c99dc805acf46ff0047163e29d6c08e182e73a2 (diff) | |
| parent | 06d10a78506fae7e033795cda7b1d9d0e1f1fff5 (diff) | |
Merge "ART: Add dex::ProtoIndex"
Diffstat (limited to 'compiler/optimizing/instruction_builder.h')
| -rw-r--r-- | compiler/optimizing/instruction_builder.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/optimizing/instruction_builder.h b/compiler/optimizing/instruction_builder.h index 95ffa6b054..9d886a8ef2 100644 --- a/compiler/optimizing/instruction_builder.h +++ b/compiler/optimizing/instruction_builder.h @@ -178,7 +178,7 @@ class HInstructionBuilder : public ValueObject { bool BuildInvokePolymorphic(const Instruction& instruction, uint32_t dex_pc, uint32_t method_idx, - uint32_t proto_idx, + dex::ProtoIndex proto_idx, uint32_t number_of_vreg_arguments, bool is_range, uint32_t* args, @@ -240,11 +240,11 @@ class HInstructionBuilder : public ValueObject { bool LoadClassNeedsAccessCheck(Handle<mirror::Class> klass) REQUIRES_SHARED(Locks::mutator_lock_); - // Builds a `HLoadMethodHandle` loading the given `method_handle_idx`. + // Builds a `HLoadMethodHandle` loading the given `method_handle_index`. void BuildLoadMethodHandle(uint16_t method_handle_idx, uint32_t dex_pc); - // Builds a `HLoadMethodType` loading the given `proto_idx`. - void BuildLoadMethodType(uint16_t proto_idx, uint32_t dex_pc); + // Builds a `HLoadMethodType` loading the given `proto_index`. + void BuildLoadMethodType(dex::ProtoIndex proto_index, uint32_t dex_pc); // Returns the outer-most compiling method's class. ObjPtr<mirror::Class> GetOutermostCompilingClass() const; |