diff options
Diffstat (limited to 'runtime/dex_instruction.h')
-rw-r--r-- | runtime/dex_instruction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/dex_instruction.h b/runtime/dex_instruction.h index c434cdd938..4352c4add0 100644 --- a/runtime/dex_instruction.h +++ b/runtime/dex_instruction.h @@ -422,6 +422,11 @@ class Instruction { return kInstructionFlags[opcode]; } + // Return the verify flags for the given opcode. + static int VerifyFlagsOf(Code opcode) { + return kInstructionVerifyFlags[opcode]; + } + // Returns true if this instruction is a branch. bool IsBranch() const { return (kInstructionFlags[Opcode()] & kBranch) != 0; |