arm: fix printMemBOption() that was wrongly fixed in 51888c3e08

test2
Nguyen Anh Quynh 10 years ago
parent 6782cbf5fd
commit 1ffc1b2201
  1. 2
      arch/ARM/ARMInstPrinter.c

@ -1177,7 +1177,7 @@ static void printMemBOption(MCInst *MI, unsigned OpNum, SStream *O)
{
unsigned val = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum));
SStream_concat0(O, ARM_MB_MemBOptToString(val + 1,
ARM_getFeatureBits((MI->csh->mode) & ARM_HasV8Ops)));
(ARM_getFeatureBits(MI->csh->mode) & ARM_HasV8Ops)));
if (MI->csh->detail) {
MI->flat_insn->detail->arm.mem_barrier = (arm_mem_barrier)(val + 1);

Loading…
Cancel
Save