diff mbox

target-mips: Fix compilation

Message ID 1276114180-24035-1-git-send-email-weil@mail.berlios.de
State New
Headers show

Commit Message

Stefan Weil June 9, 2010, 8:09 p.m. UTC
TCGv t1 needs tcg_temp_free instead of tcg_temp_free_i32.

Cc: Nathan Froyd <froydnj@codesourcery.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 target-mips/translate.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Aurelien Jarno June 9, 2010, 9:47 p.m. UTC | #1
On Wed, Jun 09, 2010 at 10:09:40PM +0200, Stefan Weil wrote:
> TCGv t1 needs tcg_temp_free instead of tcg_temp_free_i32.
> 
> Cc: Nathan Froyd <froydnj@codesourcery.com>
> Cc: Aurelien Jarno <aurelien@aurel32.net>
> Signed-off-by: Stefan Weil <weil@mail.berlios.de>
> ---
>  target-mips/translate.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Thanks for spotting this, I have just applied the patch.

> diff --git a/target-mips/translate.c b/target-mips/translate.c
> index 3473281..940f57c 100644
> --- a/target-mips/translate.c
> +++ b/target-mips/translate.c
> @@ -9478,7 +9478,7 @@ static void gen_ldst_multiple (DisasContext *ctx, uint32_t opc, int reglist,
>      }
>      MIPS_DEBUG("%s, %x, %d(%s)", opn, reglist, offset, regnames[base]);
>      tcg_temp_free(t0);
> -    tcg_temp_free_i32(t1);
> +    tcg_temp_free(t1);
>      tcg_temp_free_i32(t2);
>  }
>  
> -- 
> 1.7.1
> 
> 
>
diff mbox

Patch

diff --git a/target-mips/translate.c b/target-mips/translate.c
index 3473281..940f57c 100644
--- a/target-mips/translate.c
+++ b/target-mips/translate.c
@@ -9478,7 +9478,7 @@  static void gen_ldst_multiple (DisasContext *ctx, uint32_t opc, int reglist,
     }
     MIPS_DEBUG("%s, %x, %d(%s)", opn, reglist, offset, regnames[base]);
     tcg_temp_free(t0);
-    tcg_temp_free_i32(t1);
+    tcg_temp_free(t1);
     tcg_temp_free_i32(t2);
 }