diff options
author | Lioncash <mathew1800@gmail.com> | 2015-07-27 23:45:24 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-07-28 02:27:57 -0400 |
commit | 89540ea7618fbaca1c9cd332b24aff7f2865d324 (patch) | |
tree | d5e25da76e20be36e3016beb363b2c25071d9c36 /src/core/arm/dyncom/arm_dyncom_dec.h | |
parent | 7e4fb4db193433c77ffd707b62d11e58e46c684e (diff) |
dyncom: Use enum class for instruction decoding results
Diffstat (limited to 'src/core/arm/dyncom/arm_dyncom_dec.h')
-rw-r--r-- | src/core/arm/dyncom/arm_dyncom_dec.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_dec.h b/src/core/arm/dyncom/arm_dyncom_dec.h index 5f627962..80d91021 100644 --- a/src/core/arm/dyncom/arm_dyncom_dec.h +++ b/src/core/arm/dyncom/arm_dyncom_dec.h @@ -6,13 +6,13 @@ #include "common/common_types.h" -int decode_arm_instr(u32 instr, s32* idx); - -enum DECODE_STATUS { - DECODE_SUCCESS, - DECODE_FAILURE +enum class ARMDecodeStatus { + SUCCESS, + FAILURE }; +ARMDecodeStatus DecodeARMInstruction(u32 instr, s32* idx); + struct instruction_set_encoding_item { const char *name; int attribute_value; |