diff options
Diffstat (limited to 'runtime/dex_instruction-inl.h')
| -rw-r--r-- | runtime/dex_instruction-inl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/dex_instruction-inl.h b/runtime/dex_instruction-inl.h index 3d0fea07ad..f6ed1f03b7 100644 --- a/runtime/dex_instruction-inl.h +++ b/runtime/dex_instruction-inl.h @@ -505,11 +505,11 @@ inline uint16_t Instruction::VRegH_4rcc() const { } inline bool Instruction::HasVarArgs() const { - return FormatOf(Opcode()) == k35c; + return (FormatOf(Opcode()) == k35c) || (FormatOf(Opcode()) == k45cc); } inline void Instruction::GetVarArgs(uint32_t arg[kMaxVarArgRegs], uint16_t inst_data) const { - DCHECK_EQ(FormatOf(Opcode()), k35c); + DCHECK(HasVarArgs()); /* * Note that the fields mentioned in the spec don't appear in |