diff options
Diffstat (limited to 'vm/compiler/codegen/armv5te/Armv5teLIR.h')
-rw-r--r-- | vm/compiler/codegen/armv5te/Armv5teLIR.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vm/compiler/codegen/armv5te/Armv5teLIR.h b/vm/compiler/codegen/armv5te/Armv5teLIR.h index 5268ee8ef..3341e496b 100644 --- a/vm/compiler/codegen/armv5te/Armv5teLIR.h +++ b/vm/compiler/codegen/armv5te/Armv5teLIR.h @@ -180,4 +180,18 @@ typedef struct Armv5teLIR { #define CHAIN_CELL_OFFSET_TAG 0xcdab +/* Create the TemplateOpcode enum */ +#define JIT_TEMPLATE(X) TEMPLATE_##X, +typedef enum { +#include "../../template/armv5te/TemplateOpList.h" +/* + * For example, + * TEMPLATE_CMP_LONG, + * TEMPLATE_RETURN, + * ... + */ + TEMPLATE_LAST_MARK, +} TemplateOpCode; +#undef JIT_TEMPLATE + #endif /* _DALVIK_VM_COMPILER_CODEGEN_ARMV5TE_H */ |