mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
tcg: Use TCGCond where appropriate.
Use the TCGCond enumeration type in the brcond and setcond related prototypes in tcg-op.h and each code generator. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
a975160954
commit
8a56e84091
7 changed files with 39 additions and 37 deletions
|
@ -376,7 +376,7 @@ static void tcg_out_cmp(TCGContext *s, TCGArg arg1, TCGArg arg2,
|
|||
}
|
||||
}
|
||||
|
||||
static void tcg_out_brcond(TCGContext *s, int cond,
|
||||
static void tcg_out_brcond(TCGContext *s, TCGCond cond,
|
||||
TCGArg arg1, TCGArg arg2, int const_arg2,
|
||||
int label_index, int small)
|
||||
{
|
||||
|
@ -466,7 +466,7 @@ static void tcg_out_brcond2(TCGContext *s, const TCGArg *args,
|
|||
tcg_out_label(s, label_next, (tcg_target_long)s->code_ptr);
|
||||
}
|
||||
|
||||
static void tcg_out_setcond(TCGContext *s, int cond, TCGArg dest,
|
||||
static void tcg_out_setcond(TCGContext *s, TCGCond cond, TCGArg dest,
|
||||
TCGArg arg1, TCGArg arg2, int const_arg2)
|
||||
{
|
||||
tcg_out_cmp(s, arg1, arg2, const_arg2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue