diff options
author | comex | 2015-01-17 20:09:42 -0500 |
---|---|---|
committer | comex | 2015-01-17 20:09:42 -0500 |
commit | 17d4d47511fe1a51ffeb83f0fe923993680304dd (patch) | |
tree | 17934be6219f5ec8d870d79c15a7d7516a83f42f /lib/dis.h | |
parent | transform-dis stuff - compiles for arm, so far (diff) | |
download | substitute-17d4d47511fe1a51ffeb83f0fe923993680304dd.tar.gz |
IT, BX LR - untested
Diffstat (limited to 'lib/dis.h')
-rw-r--r-- | lib/dis.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -107,14 +107,18 @@ static const unsigned null_op = -0x100; #if defined(TARGET_x86_64) #define MIN_INSN_SIZE 1 #error "no x86 dis yet" + struct arch_dis_ctx {}; #elif defined(TARGET_i386) #define MIN_INSN_SIZE 1 #error "no x86 dis yet" + struct arch_dis_ctx {}; #elif defined(TARGET_arm) #define MIN_INSN_SIZE 2 #define TARGET_DIS_HEADER "dis-arm-multi.inc.h" + struct arch_dis_ctx { unsigned thumb_it_length; }; #elif defined(TARGET_arm64) #define MIN_INSN_SIZE 4 #define TARGET_DIS_HEADER "dis-arm64.inc.h" + struct arch_dis_ctx {}; #endif |