mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
tcg: Rename TEMP_LOCAL to TEMP_TB
Use TEMP_TB as that is more explicit about the default lifetime of the data. While "global" and "local" used to be contrasting, we have more lifetimes than that now. Do not yet rename tcg_temp_local_new_*, just the enum. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
4d89d0bb8f
commit
f57c69156c
3 changed files with 18 additions and 14 deletions
|
@ -190,7 +190,7 @@ static TCGTemp *find_better_copy(TCGContext *s, TCGTemp *ts)
|
|||
} else if (i->kind > ts->kind) {
|
||||
if (i->kind == TEMP_GLOBAL) {
|
||||
g = i;
|
||||
} else if (i->kind == TEMP_LOCAL) {
|
||||
} else if (i->kind == TEMP_TB) {
|
||||
l = i;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue