diff options
| author | 2017-01-11 18:08:03 +0000 | |
|---|---|---|
| committer | 2017-01-11 18:08:04 +0000 | |
| commit | 79f9928fc9e0a88430f3329069bfb2f9a0d37f0c (patch) | |
| tree | e3142e4829c808c3df1059f3b05c0b3a37193ce9 /compiler/optimizing/instruction_builder.h | |
| parent | 716eb25353390f699778a79d69006a5b8d8289c2 (diff) | |
| parent | 02e3092f8d98f339588e48691db77f227b48ac1e (diff) | |
Merge "ART: Compiler support for invoke-polymorphic."
Diffstat (limited to 'compiler/optimizing/instruction_builder.h')
| -rw-r--r-- | compiler/optimizing/instruction_builder.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/compiler/optimizing/instruction_builder.h b/compiler/optimizing/instruction_builder.h index f29e522040..aef0b94c1f 100644 --- a/compiler/optimizing/instruction_builder.h +++ b/compiler/optimizing/instruction_builder.h @@ -175,6 +175,17 @@ class HInstructionBuilder : public ValueObject { uint32_t* args, uint32_t register_index); + // Builds an invocation node for invoke-polymorphic and returns whether the + // instruction is supported. + bool BuildInvokePolymorphic(const Instruction& instruction, + uint32_t dex_pc, + uint32_t method_idx, + uint32_t proto_idx, + uint32_t number_of_vreg_arguments, + bool is_range, + uint32_t* args, + uint32_t register_index); + // Builds a new array node and the instructions that fill it. void BuildFilledNewArray(uint32_t dex_pc, dex::TypeIndex type_index, |