tcg: Add temp_readonly
commite01fa97dea857a35be5bb8cce0d632a62e72c689
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 29 Mar 2020 17:40:49 +0000 (29 10:40 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 13 Jan 2021 18:39:08 +0000 (13 08:39 -1000)
tree358624811c65272b97e7017dfaecb7c313c0b9ac
parentee17db83d2dce35792e9bf03366af193e5e0e5c9
tcg: Add temp_readonly

In most, but not all, places that we check for TEMP_FIXED,
we are really testing that we do not modify the temporary.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/tcg/tcg.h
tcg/tcg.c