diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2017-10-20 12:08:19 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2017-10-24 13:53:36 -0700 |
commit | e89b28a63501c0ad6d2501fe851d0c5202055e70 (patch) | |
tree | 8e4859ec99e87c099d3808bfd122e7ed9b2aef13 /accel/tcg/translate-all.c | |
parent | 55c3ceef61fcf06fc98ddc752b7cce788ce7680b (diff) | |
download | qemu-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