Revision 8cfd0495 target-s390x/translate.c

b/target-s390x/translate.c
1169 1169
        update_cc_op(s);
1170 1170
        tcg_gen_goto_tb(0);
1171 1171
        tcg_gen_movi_i64(psw_addr, dest);
1172
        tcg_gen_exit_tb((tcg_target_long)s->tb);
1172
        tcg_gen_exit_tb((uintptr_t)s->tb);
1173 1173
        return EXIT_GOTO_TB;
1174 1174
    } else {
1175 1175
        tcg_gen_movi_i64(psw_addr, dest);
......
1227 1227
            /* Branch not taken.  */
1228 1228
            tcg_gen_goto_tb(0);
1229 1229
            tcg_gen_movi_i64(psw_addr, s->next_pc);
1230
            tcg_gen_exit_tb((tcg_target_long)s->tb + 0);
1230
            tcg_gen_exit_tb((uintptr_t)s->tb + 0);
1231 1231

  
1232 1232
            /* Branch taken.  */
1233 1233
            gen_set_label(lab);
1234 1234
            tcg_gen_goto_tb(1);
1235 1235
            tcg_gen_movi_i64(psw_addr, dest);
1236
            tcg_gen_exit_tb((tcg_target_long)s->tb + 1);
1236
            tcg_gen_exit_tb((uintptr_t)s->tb + 1);
1237 1237

  
1238 1238
            ret = EXIT_GOTO_TB;
1239 1239
        } else {
......
1256 1256
            update_cc_op(s);
1257 1257
            tcg_gen_goto_tb(0);
1258 1258
            tcg_gen_movi_i64(psw_addr, s->next_pc);
1259
            tcg_gen_exit_tb((tcg_target_long)s->tb + 0);
1259
            tcg_gen_exit_tb((uintptr_t)s->tb + 0);
1260 1260

  
1261 1261
            gen_set_label(lab);
1262 1262
            if (is_imm) {

Also available in: Unified diff