]> Git Repo - qemu.git/commitdiff
target/hppa: use tb_cflags() to access tb->cflags
authorEmilio G. Cota <[email protected]>
Thu, 15 Feb 2018 03:05:46 +0000 (22:05 -0500)
committerRichard Henderson <[email protected]>
Wed, 6 Feb 2019 10:49:21 +0000 (10:49 +0000)
Signed-off-by: Emilio G. Cota <[email protected]>
Message-Id: <1518663946[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
target/hppa/translate.c

index ce05d5619d44a4bfd4ae2e8f85414029363b66a6..51bfd9849d12c90de471da2ff01b350bb3b14085 100644 (file)
@@ -2059,7 +2059,7 @@ static DisasJumpType trans_mfctl(DisasContext *ctx, uint32_t insn,
         /* FIXME: Respect PSW_S bit.  */
         nullify_over(ctx);
         tmp = dest_gpr(ctx, rt);
-        if (ctx->base.tb->cflags & CF_USE_ICOUNT) {
+        if (tb_cflags(ctx->base.tb) & CF_USE_ICOUNT) {
             gen_io_start();
             gen_helper_read_interval_timer(tmp);
             gen_io_end();
This page took 0.030021 seconds and 4 git commands to generate.