From ae0218e3509a84f01bf0d8cfe59ab7e5d0dd2a92 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 25 Apr 2014 19:22:44 +0000 Subject: tcg-mips: Define TCG_TARGET_INSN_UNIT_SIZE And use tcg pointer differencing functions as appropriate. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- tcg/mips/tcg-target.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tcg/mips/tcg-target.h') diff --git a/tcg/mips/tcg-target.h b/tcg/mips/tcg-target.h index 9576db514d..c6d2267d77 100644 --- a/tcg/mips/tcg-target.h +++ b/tcg/mips/tcg-target.h @@ -26,6 +26,7 @@ #ifndef TCG_TARGET_MIPS #define TCG_TARGET_MIPS 1 +#define TCG_TARGET_INSN_UNIT_SIZE 4 #define TCG_TARGET_NB_REGS 32 typedef enum { -- cgit v1.2.3