Skip to content

Commit

Permalink
Fix compilation with CAPSTONE_X86_REDUCE
Browse files Browse the repository at this point in the history
Fixes #1955.
  • Loading branch information
oleavr committed Jan 21, 2024
1 parent 31ea133 commit 3d9b3d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/X86/X86ATTInstPrinter.c
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,7 @@ static void printanymem(MCInst *MI, unsigned OpNo, SStream *O)
case X86_LEA64r:
MI->x86opsize = 8;
break;
#ifndef CAPSTONE_X86_REDUCE
case X86_BNDCL32rm:
case X86_BNDCN32rm:
case X86_BNDCU32rm:
Expand All @@ -811,6 +812,7 @@ static void printanymem(MCInst *MI, unsigned OpNo, SStream *O)
case X86_BNDCU64rm:
MI->x86opsize = 16;
break;
#endif
}

printMemReference(MI, OpNo, O);
Expand Down

0 comments on commit 3d9b3d3

Please sign in to comment.