Skip to content
Snippets Groups Projects
Commit 640be074 authored by Anton Johansson's avatar Anton Johansson Committed by Richard Henderson
Browse files

include/exec: Remove `tb_pc()`


Signed-off-by: default avatarAnton Johansson <anjo@rev.ng>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230227135202.9710-28-anjo@rev.ng>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent f51a1dd7
No related branches found
No related tags found
No related merge requests found
......@@ -619,13 +619,6 @@ static inline uint32_t tb_cflags(const TranslationBlock *tb)
return qatomic_read(&tb->cflags);
}
/* Hide the read to avoid ifdefs for CF_PCREL. */
static inline target_ulong tb_pc(const TranslationBlock *tb)
{
assert(!(tb_cflags(tb) & CF_PCREL));
return tb->pc;
}
static inline tb_page_addr_t tb_page_addr0(const TranslationBlock *tb)
{
#ifdef CONFIG_USER_ONLY
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment