aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2017-06-16 14:56:36 -0400
committerRichard Henderson <rth@twiddle.net>2017-06-30 11:40:59 -0700
commitae06cb46b2d3d27ccad92ad962afda68ad1286a9 (patch)
treefe0d842da78016f9d98af39564668c02406dfc70
parent82d76dc7fc19a5eb9f731d7faed1792bb97214e0 (diff)
downloadqemu-ae06cb46b2d3d27ccad92ad962afda68ad1286a9.zip
qemu-ae06cb46b2d3d27ccad92ad962afda68ad1286a9.tar.gz
qemu-ae06cb46b2d3d27ccad92ad962afda68ad1286a9.tar.bz2
gen-icount: add missing inline to gen_tb_end
Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Emilio G. Cota <cota@braap.org> Message-Id: <1497639397-19453-2-git-send-email-cota@braap.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
-rw-r--r--include/exec/gen-icount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h
index 62d462e..547c979 100644
--- a/include/exec/gen-icount.h
+++ b/include/exec/gen-icount.h
@@ -44,7 +44,7 @@ static inline void gen_tb_start(TranslationBlock *tb)
tcg_temp_free_i32(count);
}
-static void gen_tb_end(TranslationBlock *tb, int num_insns)
+static inline void gen_tb_end(TranslationBlock *tb, int num_insns)
{
if (tb->cflags & CF_USE_ICOUNT) {
/* Update the num_insn immediate parameter now that we know