Merge commit '16a2cf3873e00fa08e587d1b05c9132d98c24f50' into back-to-imgui
This commit is contained in:
5
external/capstone/MCInstPrinter.c
vendored
5
external/capstone/MCInstPrinter.c
vendored
@@ -10,6 +10,7 @@ extern bool PPC_getFeatureBits(unsigned int mode, unsigned int feature);
|
||||
extern bool Mips_getFeatureBits(unsigned int mode, unsigned int feature);
|
||||
extern bool AArch64_getFeatureBits(unsigned int mode, unsigned int feature);
|
||||
extern bool TriCore_getFeatureBits(unsigned int mode, unsigned int feature);
|
||||
extern bool Sparc_getFeatureBits(unsigned int mode, unsigned int feature);
|
||||
|
||||
static bool testFeatureBits(const MCInst *MI, uint32_t Value)
|
||||
{
|
||||
@@ -37,6 +38,10 @@ static bool testFeatureBits(const MCInst *MI, uint32_t Value)
|
||||
#ifdef CAPSTONE_HAS_TRICORE
|
||||
case CS_ARCH_TRICORE:
|
||||
return TriCore_getFeatureBits(MI->csh->mode, Value);
|
||||
#endif
|
||||
#ifdef CAPSTONE_HAS_SPARC
|
||||
case CS_ARCH_SPARC:
|
||||
return Sparc_getFeatureBits(MI->csh->mode, Value);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user