Revision 4b4a72e5 target-alpha/translate.c

b/target-alpha/translate.c
398 398
    } else if (use_goto_tb(ctx, dest)) {
399 399
        tcg_gen_goto_tb(0);
400 400
        tcg_gen_movi_i64(cpu_pc, dest);
401
        tcg_gen_exit_tb((long)ctx->tb);
401
        tcg_gen_exit_tb((tcg_target_long)ctx->tb);
402 402
        return EXIT_GOTO_TB;
403 403
    } else {
404 404
        tcg_gen_movi_i64(cpu_pc, dest);
......
417 417

  
418 418
        tcg_gen_goto_tb(0);
419 419
        tcg_gen_movi_i64(cpu_pc, ctx->pc);
420
        tcg_gen_exit_tb((long)ctx->tb);
420
        tcg_gen_exit_tb((tcg_target_long)ctx->tb);
421 421

  
422 422
        gen_set_label(lab_true);
423 423
        tcg_gen_goto_tb(1);
424 424
        tcg_gen_movi_i64(cpu_pc, dest);
425
        tcg_gen_exit_tb((long)ctx->tb + 1);
425
        tcg_gen_exit_tb((tcg_target_long)ctx->tb + 1);
426 426

  
427 427
        return EXIT_GOTO_TB;
428 428
    } else {

Also available in: Unified diff