]> Git Repo - qemu.git/blobdiff - translate-all.c
Use tcg_const_tl for zero constant
[qemu.git] / translate-all.c
index 9639612eb77b52f6b03de2960aa1486448468402..f100a98258bf7fd85055ee246fa8ebd187e2d7d5 100644 (file)
@@ -187,8 +187,7 @@ int cpu_restore_state(TranslationBlock *tb,
     s->tb_jmp_offset = NULL;
     s->tb_next = tb->tb_next;
 #endif
-    j = dyngen_code_search_pc(s, (uint8_t *)tc_ptr, 
-                              (void *)searched_pc); 
+    j = dyngen_code_search_pc(s, (uint8_t *)tc_ptr, searched_pc - tc_ptr);
     if (j < 0)
         return -1;
     /* now find start of instruction before */
This page took 0.022719 seconds and 4 git commands to generate.