translate: fix popret goto usage
This commit is contained in:
parent
23681775ca
commit
f8321a76cf
1 changed files with 1 additions and 2 deletions
|
|
@ -1669,9 +1669,8 @@ static bool trans_pop(DisasContext *ctx, arg_pop *a) {
|
|||
// basically, JUMP RA
|
||||
ctx->base.is_jmp = DISAS_NORETURN;
|
||||
|
||||
tcg_gen_goto_tb(0);
|
||||
tcg_gen_mov_i32(pc, r[CR16C_REGNO_RA]);
|
||||
tcg_gen_exit_tb(ctx->base.tb, 0);
|
||||
tcg_gen_lookup_and_goto_ptr();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue