Fix compilation with CAPSTONE_X86_REDUCE (#2256)

Fixes #1955.
This commit is contained in:
Ole André Vadla Ravnås 2024-01-24 04:07:03 +01:00 committed by GitHub
parent 31ea133e64
commit eaf6d7ab67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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:
@ -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);