aboutsummaryrefslogtreecommitdiff
path: root/target-i386/cc_helper_template.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-11-06 07:25:05 +1000
committerRichard Henderson <rth@twiddle.net>2014-01-07 11:37:24 -0800
commitd67dc9e6194dec1f9b361b94ada6c567d6099f39 (patch)
tree67ae430fde777161d831fb0a94226084784f3c47 /target-i386/cc_helper_template.h
parenta7e5c7de2a634cbf7b528659c5e8a25818c5b92e (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 'target-i386/cc_helper_template.h')
0 files changed, 0 insertions, 0 deletions