diff options
author | Richard Henderson <rth@twiddle.net> | 2013-09-18 15:21:56 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2016-02-09 10:45:34 +1100 |
commit | f8b2f202344b362b1e676688f838d6b7c08f1975 (patch) | |
tree | 10713a78fc0b9df4dd5afd22e1c87f99cd144adc /tcg/tcg.h | |
parent | e4ce0d4eb774eb2a8b6a27cd8a6f1d75e05c21ae (diff) | |
download | qemu-f8b2f202344b362b1e676688f838d6b7c08f1975.zip |
tcg: Change reg_to_temp to TCGTemp pointer
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r-- | tcg/tcg.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -572,9 +572,9 @@ struct TCGContext { TCGTempSet free_temps[TCG_TYPE_COUNT * 2]; TCGTemp temps[TCG_MAX_TEMPS]; /* globals first, temps after */ - /* tells in which temporary a given register is. It does not take - into account fixed registers */ - int reg_to_temp[TCG_TARGET_NB_REGS]; + /* Tells which temporary holds a given register. + It does not take into account fixed registers */ + TCGTemp *reg_to_temp[TCG_TARGET_NB_REGS]; TCGOp gen_op_buf[OPC_BUF_SIZE]; TCGArg gen_opparam_buf[OPPARAM_BUF_SIZE]; |