aboutsummaryrefslogtreecommitdiff
path: root/include/tcg
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-03-09 17:46:16 -0800
committerRichard Henderson <richard.henderson@linaro.org>2023-05-16 16:30:29 -0700
commit4baf3978c02b387c39dc6a75d323126ab386aece (patch)
tree6e31f403ca04bf2a5dda3109815222c6adb838b5 /include/tcg
parentfcdab382c8b92bcc689b18f8ba5cd036139945bf (diff)
downloadqemu-4baf3978c02b387c39dc6a75d323126ab386aece.zip
qemu-4baf3978c02b387c39dc6a75d323126ab386aece.tar.gz
qemu-4baf3978c02b387c39dc6a75d323126ab386aece.tar.bz2
tcg: Add addr_type to TCGContext
This will enable replacement of TARGET_LONG_BITS within tcg/. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/tcg')
-rw-r--r--include/tcg/tcg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h
index 42a3c05..b9748fd 100644
--- a/include/tcg/tcg.h
+++ b/include/tcg/tcg.h
@@ -558,6 +558,7 @@ struct TCGContext {
int nb_temps;
int nb_indirects;
int nb_ops;
+ TCGType addr_type; /* TCG_TYPE_I32 or TCG_TYPE_I64 */
TCGRegSet reserved_regs;
intptr_t current_frame_offset;