aboutsummaryrefslogtreecommitdiff
path: root/target/arm/translate.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-04-17 10:43:31 -0700
committerPeter Maydell <peter.maydell@linaro.org>2022-04-22 14:44:54 +0100
commita3bc906f8ecb0cebf1803ffddf3dbccff3b1e01b (patch)
tree4468af85d16edcc857bb7c659cb04ddbac7a9b09 /target/arm/translate.c
parentad1e60184cb6c03d51aba4a9b0e4ba68606de67b (diff)
downloadqemu-a3bc906f8ecb0cebf1803ffddf3dbccff3b1e01b.zip
qemu-a3bc906f8ecb0cebf1803ffddf3dbccff3b1e01b.tar.gz
qemu-a3bc906f8ecb0cebf1803ffddf3dbccff3b1e01b.tar.bz2
target/arm: Change DisasContext.aarch64 to bool
Bool is a more appropriate type for this value. Move the member down in the struct to keep the bool type members together and remove a hole. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/translate.c')
-rw-r--r--target/arm/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/translate.c b/target/arm/translate.c
index 38e7a38..6018fee 100644
--- a/target/arm/translate.c
+++ b/target/arm/translate.c
@@ -9334,7 +9334,7 @@ static void arm_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cs)
dc->isar = &cpu->isar;
dc->condjmp = 0;
- dc->aarch64 = 0;
+ dc->aarch64 = false;
/* If we are coming from secure EL0 in a system with a 32-bit EL3, then
* there is no secure EL1, so we route exceptions to EL3.
*/