summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorRichard Henderson2013-11-05 22:25:05 +0100
committerRichard Henderson2014-01-07 20:37:24 +0100
commitd67dc9e6194dec1f9b361b94ada6c567d6099f39 (patch)
tree67ae430fde777161d831fb0a94226084784f3c47 /scripts/checkpatch.pl
parenttarget-i386: Remove gen_op_andl_A0_ffff (diff)
downloadqemu-d67dc9e6194dec1f9b361b94ada6c567d6099f39.tar.gz
qemu-d67dc9e6194dec1f9b361b94ada6c567d6099f39.tar.xz
qemu-d67dc9e6194dec1f9b361b94ada6c567d6099f39.zip
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 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions