diff options
author | Richard Henderson <rth@twiddle.net> | 2011-11-09 08:03:33 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-11-14 17:47:26 +0100 |
commit | 771142c2a7d67d491962fdf8e94d27513849d5b3 (patch) | |
tree | 0da771c20e72e23132cee667d0ef9437a4943702 /tcg/ia64 | |
parent | ef81522bc18e234485282a6fa01671d1960bc0f2 (diff) | |
download | hqemu-771142c2a7d67d491962fdf8e94d27513849d5b3.zip hqemu-771142c2a7d67d491962fdf8e94d27513849d5b3.tar.gz |
tcg: Standardize on TCGReg as the enum for hard registers
Most targets did not name the enum; tci used TCGRegister.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'tcg/ia64')
-rw-r--r-- | tcg/ia64/tcg-target.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/ia64/tcg-target.h b/tcg/ia64/tcg-target.h index 578cf29..c388089 100644 --- a/tcg/ia64/tcg-target.h +++ b/tcg/ia64/tcg-target.h @@ -26,7 +26,7 @@ /* We only map the first 64 registers */ #define TCG_TARGET_NB_REGS 64 -enum { +typedef enum { TCG_REG_R0 = 0, TCG_REG_R1, TCG_REG_R2, @@ -91,7 +91,7 @@ enum { TCG_REG_R61, TCG_REG_R62, TCG_REG_R63, -}; +} TCGReg; #define TCG_CT_CONST_ZERO 0x100 #define TCG_CT_CONST_S22 0x200 |