diff options
Diffstat (limited to 'runtime/dex_instruction.h')
-rw-r--r-- | runtime/dex_instruction.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/dex_instruction.h b/runtime/dex_instruction.h index e8db3bcf4f..c434cdd938 100644 --- a/runtime/dex_instruction.h +++ b/runtime/dex_instruction.h @@ -365,7 +365,10 @@ class Instruction { uint16_t VRegC_3rc() const; // Fills the given array with the 'arg' array of the instruction. - void GetArgs(uint32_t args[5]) const; + void GetArgs(uint32_t args[5], uint16_t inst_data) const; + void GetArgs(uint32_t args[5]) const { + return GetArgs(args, Fetch16(0)); + } // Returns the opcode field of the instruction. The given "inst_data" parameter must be the first // 16 bits of instruction. |