OSDN Git Service

tcg: Fix !USE_DIRECT_JUMP
authorRichard Henderson <rth@twiddle.net>
Mon, 17 Sep 2012 15:28:52 +0000 (08:28 -0700)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 21 Sep 2012 17:53:17 +0000 (19:53 +0200)
Commit 6375e09e changed the type of TranslationBlock.tb_next,
but failed to change the type of TCGContext.tb_next.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/tcg.h

index 7e903f3..48a56f0 100644 (file)
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -344,7 +344,7 @@ struct TCGContext {
 
     /* goto_tb support */
     uint8_t *code_buf;
-    unsigned long *tb_next;
+    uintptr_t *tb_next;
     uint16_t *tb_next_offset;
     uint16_t *tb_jmp_offset; /* != NULL if USE_DIRECT_JUMP */