]> git.proxmox.com Git - mirror_qemu.git/blobdiff - translate-all.c
tcg: Merge GETPC and GETRA
[mirror_qemu.git] / translate-all.c
index b6663dc91d66570aa0558a103b44cbfa0bd6e7cf..e9bc90c65432633ac0bd7bd9f25efeae749cd31a 100644 (file)
@@ -260,6 +260,8 @@ static int cpu_restore_state_from_tb(CPUState *cpu, TranslationBlock *tb,
     int64_t ti = profile_getclock();
 #endif
 
+    searched_pc -= GETPC_ADJ;
+
     if (searched_pc < host_pc) {
         return -1;
     }