summaryrefslogtreecommitdiff
path: root/runtime/dex_instruction.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2015-07-01 20:27:06 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-07-01 20:27:07 +0000
commit01b2129de3e182b79aa820e71fc7fa1ef42f2d35 (patch)
tree26b3fd83775e795c307cf24f9ec8c3ca86329c46 /runtime/dex_instruction.cc
parentea725ec1b5b9a594842dde02b247f4707ee0c93a (diff)
parentb1f3753d890e17b7b0d4e2779e8dfd8aa5bf0e2d (diff)
Merge "Added index type of dex byte instructions."
Diffstat (limited to 'runtime/dex_instruction.cc')
-rw-r--r--runtime/dex_instruction.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/dex_instruction.cc b/runtime/dex_instruction.cc
index 537fa154b1..fc4df1475a 100644
--- a/runtime/dex_instruction.cc
+++ b/runtime/dex_instruction.cc
@@ -43,6 +43,14 @@ Instruction::Format const Instruction::kInstructionFormats[] = {
#undef INSTRUCTION_FORMAT
};
+Instruction::IndexType const Instruction::kInstructionIndexTypes[] = {
+#define INSTRUCTION_INDEX_TYPE(o, c, p, f, r, index, a, v) index,
+#include "dex_instruction_list.h"
+ DEX_INSTRUCTION_LIST(INSTRUCTION_INDEX_TYPE)
+#undef DEX_INSTRUCTION_LIST
+#undef INSTRUCTION_FLAGS
+};
+
int const Instruction::kInstructionFlags[] = {
#define INSTRUCTION_FLAGS(o, c, p, f, r, i, flags, v) flags,
#include "dex_instruction_list.h"