Revision 8a56e840 tcg/ppc/tcg-target.c

b/tcg/ppc/tcg-target.c
1080 1080
static void tcg_out_cr7eq_from_cond (TCGContext *s, const TCGArg *args,
1081 1081
                                     const int *const_args)
1082 1082
{
1083
    int cond = args[4], op;
1083
    TCGCond cond = args[4];
1084
    int op;
1084 1085
    struct { int bit1; int bit2; int cond2; } bits[] = {
1085 1086
        [TCG_COND_LT ] = { CR_LT, CR_LT, TCG_COND_LT  },
1086 1087
        [TCG_COND_LE ] = { CR_LT, CR_GT, TCG_COND_LT  },
......
1120 1121
    }
1121 1122
}
1122 1123

  
1123
static void tcg_out_setcond (TCGContext *s, int cond, TCGArg arg0,
1124
static void tcg_out_setcond (TCGContext *s, TCGCond cond, TCGArg arg0,
1124 1125
                             TCGArg arg1, TCGArg arg2, int const_arg2)
1125 1126
{
1126 1127
    int crop, sh, arg;
......
1244 1245
        );
1245 1246
}
1246 1247

  
1247
static void tcg_out_brcond (TCGContext *s, int cond,
1248
static void tcg_out_brcond (TCGContext *s, TCGCond cond,
1248 1249
                            TCGArg arg1, TCGArg arg2, int const_arg2,
1249 1250
                            int label_index)
1250 1251
{

Also available in: Unified diff