diff options
Diffstat (limited to 'target-microblaze')
-rw-r--r-- | target-microblaze/translate.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c index 58b27ca652..973c74461f 100644 --- a/target-microblaze/translate.c +++ b/target-microblaze/translate.c @@ -1928,7 +1928,8 @@ void mb_tcg_init(void) } } -void restore_state_to_opc(CPUMBState *env, TranslationBlock *tb, int pc_pos) +void restore_state_to_opc(CPUMBState *env, TranslationBlock *tb, + target_ulong *data) { - env->sregs[SR_PC] = tcg_ctx.gen_opc_pc[pc_pos]; + env->sregs[SR_PC] = data[0]; } |