From e4d5434c3a9c7eacadad431fcd03c277c6d2777d Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Thu, 13 Mar 2008 17:34:19 +0000 Subject: Fix i32 memory backed variables on 64-bit host git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4044 c046a42c-6fe2-441c-8c8c-71466251a162 --- tcg/i386/tcg-target.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tcg/i386') diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c index 9d6aa5c248..54df7dd2e9 100644 --- a/tcg/i386/tcg-target.c +++ b/tcg/i386/tcg-target.c @@ -255,15 +255,15 @@ static inline void tcg_out_movi(TCGContext *s, TCGType type, } } -static inline void tcg_out_ld(TCGContext *s, int ret, - int arg1, int32_t arg2) +static inline void tcg_out_ld(TCGContext *s, TCGType type, int ret, + int arg1, tcg_target_long arg2) { /* movl */ tcg_out_modrm_offset(s, 0x8b, ret, arg1, arg2); } -static inline void tcg_out_st(TCGContext *s, int arg, - int arg1, int32_t arg2) +static inline void tcg_out_st(TCGContext *s, TCGType type, int arg, + int arg1, tcg_target_long arg2) { /* movl */ tcg_out_modrm_offset(s, 0x89, arg, arg1, arg2); -- cgit v1.2.3