diff options
author | Richard Henderson <rth@twiddle.net> | 2014-04-24 14:23:40 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-05-12 10:06:29 -0700 |
commit | 267c931985cf4a003fdeaab197a49bdd83e50e19 (patch) | |
tree | 00c4d92492c6866ca821261a3dbd2637075bd1af /tcg/arm/tcg-target.h | |
parent | abce5964be02146c204722c0c55bc6939fb8603d (diff) | |
download | hqemu-267c931985cf4a003fdeaab197a49bdd83e50e19.zip hqemu-267c931985cf4a003fdeaab197a49bdd83e50e19.tar.gz |
tcg-arm: Define TCG_TARGET_INSN_UNIT_SIZE
And use tcg pointer differencing functions as appropriate.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/arm/tcg-target.h')
-rw-r--r-- | tcg/arm/tcg-target.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/arm/tcg-target.h b/tcg/arm/tcg-target.h index 1bc5dac..73f10c4 100644 --- a/tcg/arm/tcg-target.h +++ b/tcg/arm/tcg-target.h @@ -26,6 +26,7 @@ #define TCG_TARGET_ARM 1 #undef TCG_TARGET_STACK_GROWSUP +#define TCG_TARGET_INSN_UNIT_SIZE 4 typedef enum { TCG_REG_R0 = 0, |