OSDN Git Service

tcg: Add temp_global bit to TCGTemp
authorRichard Henderson <rth@twiddle.net>
Wed, 2 Nov 2016 17:20:15 +0000 (11:20 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 24 Oct 2017 19:43:50 +0000 (21:43 +0200)
commitfa477d25470187030614288d35bc734edffa41ee
treea4e21c764fff7a6fa3f4c48d3ac2c95eb1c73bf1
parent434391390ba99996af1591b427a73b3f5c05065e
tcg: Add temp_global bit to TCGTemp

This avoids needing to test the index of a temp against nb_globals.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/optimize.c
tcg/tcg.c
tcg/tcg.h