summaryrefslogtreecommitdiff
path: root/accel/tcg/translate-all.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2017-10-20 12:08:19 -0700
committerRichard Henderson <richard.henderson@linaro.org>2017-10-24 13:53:36 -0700
commite89b28a63501c0ad6d2501fe851d0c5202055e70 (patch)
tree8e4859ec99e87c099d3808bfd122e7ed9b2aef13 /accel/tcg/translate-all.c
parent55c3ceef61fcf06fc98ddc752b7cce788ce7680b (diff)
downloadqemu-e89b28a63501c0ad6d2501fe851d0c5202055e70.zip
tcg: Use offsets not indices for TCGv_*
Using the offset of a temporary, relative to TCGContext, rather than its index means that we don't use 0. That leaves offset 0 free for a NULL representation without having to leave index 0 unused. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/tcg/translate-all.c')
0 files changed, 0 insertions, 0 deletions