diff options
| author | bunnei <bunneidev@gmail.com> | 2015-04-07 23:03:08 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2015-04-07 23:03:08 -0400 |
| commit | 114126b2166d302b7c6a11405ac390f7c7e07dad (patch) | |
| tree | 9cc7175f6500080417cd09c01babf7c86dd46f1d /src/core/arm/dyncom/arm_dyncom_thumb.h | |
| parent | e630fd2a95f01284b0e19adaae49bd0db1ebbbe3 (diff) | |
| parent | a6c9e453b24ba5372eab56bed1ce9abdad2177a1 (diff) | |
Merge pull request #688 from lioncash/unused
dyncom: Remove unnecessary enum and typedef
Diffstat (limited to 'src/core/arm/dyncom/arm_dyncom_thumb.h')
| -rw-r--r-- | src/core/arm/dyncom/arm_dyncom_thumb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/dyncom/arm_dyncom_thumb.h b/src/core/arm/dyncom/arm_dyncom_thumb.h index a1785abb8..8394ff156 100644 --- a/src/core/arm/dyncom/arm_dyncom_thumb.h +++ b/src/core/arm/dyncom/arm_dyncom_thumb.h @@ -35,9 +35,9 @@ enum tdstate { t_uninitialized, }; -tdstate thumb_translate(addr_t addr, u32 instr, u32* ainstr, u32* inst_size); +tdstate thumb_translate(u32 addr, u32 instr, u32* ainstr, u32* inst_size); -static inline u32 get_thumb_instr(u32 instr, addr_t pc) { +static inline u32 get_thumb_instr(u32 instr, u32 pc) { u32 tinstr; if ((pc & 0x3) != 0) tinstr = instr >> 16; |
