Skip to content

Commit

Permalink
#1 fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingkai-Li committed Aug 13, 2023
1 parent a5c1f48 commit ec37ef8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions riscv/insns/cs_mrev.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
if (!IS_CAP(insn_rs1))
throw trap_capstone_unexpected_operand_type(insn.bits());
if (!VALID_CAP(insn_rs1))
throw trap_capstone_invalid_capability(insn_bits());
throw trap_capstone_invalid_capability(insn.bits());
if (READ_CAP(insn_rs1).type != CAP_TYPE_LINEAR)
throw trap_capstone_unexpected_cap_type(insn_bits());
throw trap_capstone_unexpected_cap_type(insn.bits());
/*mint a revocation capability*/
/*rs1 -> rd*/
if (IS_CAP(insn_rd)) UPDATE_RC_DOWN(READ_CAP_NODE(insn_rd));
Expand Down

0 comments on commit ec37ef8

Please sign in to comment.