Code cleanup

This commit is contained in:
Pierre Pronchery 2011-04-24 03:23:57 +00:00
parent 0dce6d04ce
commit 2d9240b494

View File

@ -178,17 +178,6 @@ ArchInstruction * arch_get_instruction_by_opcode(Arch * arch, uint8_t size,
if(ai->opcode == opcode)
return ai;
}
#if 0
if(arch->instructions[i].size == size
&& arch->instructions[i].opcode == opcode)
return &arch->instructions[i];
# if 0 /* XXX this is experimental and may not be adequate */
for(i = 0; i < arch->instructions_cnt; i++)
if(arch->instructions[i].size == 0
&& arch->instructions[i].op1size == size)
return &arch->instructions[i];
# endif
#endif
return NULL;
}