diff options
author | Richard Henderson <rth@twiddle.net> | 2010-03-19 11:26:05 -0700 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-26 21:29:08 +0100 |
commit | 8a56e840911572391019cd8b4ee86976dac2f593 (patch) | |
tree | 2c57b300e225172c7ce887443fc42d19fa3335a8 /tcg/ppc64/tcg-target.c | |
parent | a975160954d22c6330b81b5613bd5613f0935011 (diff) | |
download | qemu-8a56e840911572391019cd8b4ee86976dac2f593.zip qemu-8a56e840911572391019cd8b4ee86976dac2f593.tar.gz qemu-8a56e840911572391019cd8b4ee86976dac2f593.tar.bz2 |
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>
Diffstat (limited to 'tcg/ppc64/tcg-target.c')
-rw-r--r-- | tcg/ppc64/tcg-target.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c index 865b6e0..4eb5612 100644 --- a/tcg/ppc64/tcg-target.c +++ b/tcg/ppc64/tcg-target.c @@ -1051,8 +1051,9 @@ static void tcg_out_cmp (TCGContext *s, int cond, TCGArg arg1, TCGArg arg2, } -static void tcg_out_setcond (TCGContext *s, TCGType type, int cond, TCGArg arg0, - TCGArg arg1, TCGArg arg2, int const_arg2) +static void tcg_out_setcond (TCGContext *s, TCGType type, TCGCond cond, + TCGArg arg0, TCGArg arg1, TCGArg arg2, + int const_arg2) { int crop, sh, arg; @@ -1182,7 +1183,7 @@ static void tcg_out_bc (TCGContext *s, int bc, int label_index) } } -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 arch64) { |