diff options
author | Richard Henderson <rth@twiddle.net> | 2013-11-06 07:25:05 +1000 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-01-07 11:37:24 -0800 |
commit | d67dc9e6194dec1f9b361b94ada6c567d6099f39 (patch) | |
tree | 67ae430fde777161d831fb0a94226084784f3c47 /balloon.c | |
parent | a7e5c7de2a634cbf7b528659c5e8a25818c5b92e (diff) |
target-i386: Use TCGMemOp for 'ot' variables
The 'ot' variables (operand type?) hold the log2(byte size) of
the operand being manipulated. This is the same as the MO_SIZE
subset of the TCGMemOp. Indeed, we often pass 'ot' to the
tcg_gen_qemu_ld/st functions.
Changing the type from 'int' makes it easier to see what domain
the variable should be.
This does require adding some default cases to some switch statements,
to avoid the 'unhandled enumeration value' warning that would result
from the change of type.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'balloon.c')
0 files changed, 0 insertions, 0 deletions