mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-23 13:39:46 +00:00
[Fix] no return value error in Apple Silicon (#2160)
* Disable swift binding const generate * Fix no return value error in Apple Silicon
This commit is contained in:
parent
d7a339456e
commit
4d76f87640
1
MCInst.c
1
MCInst.c
@ -281,6 +281,7 @@ uint64_t MCInst_getOpVal(MCInst *MI, unsigned OpNum)
|
||||
return MCOperand_getImm(op);
|
||||
else
|
||||
assert(0 && "Operand type not handled in this getter.");
|
||||
return false;
|
||||
}
|
||||
|
||||
void MCInst_setIsAlias(MCInst *MI, bool Flag) {
|
||||
|
@ -613,6 +613,7 @@ ppc_pred PPC_get_no_hint_pred(unsigned Code)
|
||||
case PPC_PRED_BIT_UNSET:
|
||||
assert(0 && "Invalid use of bit predicate code");
|
||||
}
|
||||
return PPC_PRED_INVALID;
|
||||
}
|
||||
|
||||
void PPC_set_mem_access(MCInst *MI, bool status)
|
||||
|
Loading…
Reference in New Issue
Block a user