commit | e89b28a63501c0ad6d2501fe851d0c5202055e70 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Fri Oct 20 12:08:19 2017 -0700 |
committer | Richard Henderson <richard.henderson@linaro.org> | Tue Oct 24 13:53:36 2017 -0700 |
tree | 8e4859ec99e87c099d3808bfd122e7ed9b2aef13 | |
parent | 55c3ceef61fcf06fc98ddc752b7cce788ce7680b [diff] |
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>