Aarch64 set operand in printSVERegOp (#1462)

This commit is contained in:
Catena cyber 2019-04-28 17:22:46 +02:00 committed by Nguyen Anh Quynh
parent 120c80fc14
commit 71a17331a3
1 changed files with 3 additions and 0 deletions

View File

@ -2006,6 +2006,9 @@ static void printSVERegOp(MCInst *MI, unsigned OpNum, SStream *O, char suffix)
#endif
Reg = MCOperand_getReg(MCInst_getOperand(MI, OpNum));
MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].type = ARM64_OP_REG;
MI->flat_insn->detail->arm64.operands[MI->flat_insn->detail->arm64.op_count].reg = Reg;
MI->flat_insn->detail->arm64.op_count++;
SStream_concat0(O, getRegisterName(Reg, AArch64_NoRegAltName));