aboutsummaryrefslogtreecommitdiff
path: root/accel/tcg/tcg-runtime.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2021-02-24 16:58:08 +0000
committerRichard Henderson <richard.henderson@linaro.org>2021-03-06 11:50:50 -0800
commitc0ae396a81e13e5a09846f86a702bc61733a8885 (patch)
treea1bbd21ab556043602530b72685a093ca9fd2abf /accel/tcg/tcg-runtime.c
parent6f04cb1c8f481cf02fbc4657fefba985a1fe725f (diff)
accel/tcg: move CF_CLUSTER calculation to curr_cflags
There is nothing special about this compile flag that doesn't mean we can't just compute it with curr_cflags() which we should be using when building a new set. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210224165811.11567-3-alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/tcg/tcg-runtime.c')
-rw-r--r--accel/tcg/tcg-runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/tcg/tcg-runtime.c b/accel/tcg/tcg-runtime.c
index 05e3d52c2f..99403e3eb3 100644
--- a/accel/tcg/tcg-runtime.c
+++ b/accel/tcg/tcg-runtime.c
@@ -154,7 +154,7 @@ const void *HELPER(lookup_tb_ptr)(CPUArchState *env)
cpu_get_tb_cpu_state(env, &pc, &cs_base, &flags);
- tb = tb_lookup(cpu, pc, cs_base, flags, curr_cflags());
+ tb = tb_lookup(cpu, pc, cs_base, flags, curr_cflags(cpu));
if (tb == NULL) {
return tcg_code_gen_epilogue;
}