summaryrefslogtreecommitdiffstats
path: root/tcg/aarch64
diff options
context:
space:
mode:
authorRichard Henderson2017-09-11 20:25:55 +0200
committerRichard Henderson2017-09-17 15:52:19 +0200
commitccb1bb66ea2a42e773bfa04178d8b383ff86d4d8 (patch)
tree24ed8314b2970738371674ded31df4e52e986f56 /tcg/aarch64
parenttcg: Add tcg_op_supported (diff)
downloadqemu-ccb1bb66ea2a42e773bfa04178d8b383ff86d4d8.tar.gz
qemu-ccb1bb66ea2a42e773bfa04178d8b383ff86d4d8.tar.xz
qemu-ccb1bb66ea2a42e773bfa04178d8b383ff86d4d8.zip
tcg: Remove tcg_regset_clear
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/aarch64')
-rw-r--r--tcg/aarch64/tcg-target.inc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/aarch64/tcg-target.inc.c b/tcg/aarch64/tcg-target.inc.c
index c2f3812214..75d819258e 100644
--- a/tcg/aarch64/tcg-target.inc.c
+++ b/tcg/aarch64/tcg-target.inc.c
@@ -1940,7 +1940,7 @@ static void tcg_target_init(TCGContext *s)
(1 << TCG_REG_X16) | (1 << TCG_REG_X17) |
(1 << TCG_REG_X18) | (1 << TCG_REG_X30));
- tcg_regset_clear(s->reserved_regs);
+ s->reserved_regs = 0;
tcg_regset_set_reg(s->reserved_regs, TCG_REG_SP);
tcg_regset_set_reg(s->reserved_regs, TCG_REG_FP);
tcg_regset_set_reg(s->reserved_regs, TCG_REG_TMP);