summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio G. Cota2017-06-16 20:56:36 +0200
committerRichard Henderson2017-06-30 20:40:59 +0200
commitae06cb46b2d3d27ccad92ad962afda68ad1286a9 (patch)
treefe0d842da78016f9d98af39564668c02406dfc70
parentMerge remote-tracking branch 'remotes/famz/tags/block-pull-request' into staging (diff)
downloadqemu-ae06cb46b2d3d27ccad92ad962afda68ad1286a9.tar.gz
qemu-ae06cb46b2d3d27ccad92ad962afda68ad1286a9.tar.xz
qemu-ae06cb46b2d3d27ccad92ad962afda68ad1286a9.zip
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 62d462e494..547c979629 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