qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4652] Fix type mismatch.
@ 2008-06-02  9:35 Thiemo Seufer
  0 siblings, 0 replies; only message in thread
From: Thiemo Seufer @ 2008-06-02  9:35 UTC (permalink / raw)
  To: qemu-devel

Revision: 4652
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4652
Author:   ths
Date:     2008-06-02 09:35:46 +0000 (Mon, 02 Jun 2008)

Log Message:
-----------
Fix type mismatch.

Modified Paths:
--------------
    trunk/target-mips/translate.c

Modified: trunk/target-mips/translate.c
===================================================================
--- trunk/target-mips/translate.c	2008-06-02 08:24:41 UTC (rev 4651)
+++ trunk/target-mips/translate.c	2008-06-02 09:35:46 UTC (rev 4652)
@@ -746,7 +746,7 @@
     tcg_gen_movi_tl(r_tmp, pc);
     tcg_gen_ld_i32(r_tc_off, cpu_env, offsetof(CPUState, current_tc));
     tcg_gen_muli_i32(r_tc_off, r_tc_off, sizeof(target_ulong));
-    tcg_gen_ext_i32_ptr(r_tc_off_tl, r_tc_off);
+    tcg_gen_ext_i32_tl(r_tc_off_tl, r_tc_off);
     tcg_gen_add_ptr(r_ptr, cpu_env, r_tc_off_tl);
     tcg_gen_st_tl(r_tmp, r_ptr, offsetof(CPUState, PC));
     dead_tmp(r_tc_off);
@@ -762,7 +762,7 @@
     tcg_gen_ld_tl(r_tmp, cpu_env, offsetof(CPUState, btarget));
     tcg_gen_ld_i32(r_tc_off, cpu_env, offsetof(CPUState, current_tc));
     tcg_gen_muli_i32(r_tc_off, r_tc_off, sizeof(target_ulong));
-    tcg_gen_ext_i32_ptr(r_tc_off_tl, r_tc_off);
+    tcg_gen_ext_i32_tl(r_tc_off_tl, r_tc_off);
     tcg_gen_add_ptr(r_ptr, cpu_env, r_tc_off_tl);
     tcg_gen_st_tl(r_tmp, r_ptr, offsetof(CPUState, PC));
     dead_tmp(r_tc_off);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-02  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-02  9:35 [Qemu-devel] [4652] Fix type mismatch Thiemo Seufer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).