include/exec: Remove tb_pc()
Signed-off-by: Anton Johansson <anjo@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230227135202.9710-28-anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
f51a1dd72f
commit
640be074fa
@ -619,13 +619,6 @@ static inline uint32_t tb_cflags(const TranslationBlock *tb)
|
|||||||
return qatomic_read(&tb->cflags);
|
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)
|
static inline tb_page_addr_t tb_page_addr0(const TranslationBlock *tb)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_USER_ONLY
|
#ifdef CONFIG_USER_ONLY
|
||||||
|
Loading…
Reference in New Issue
Block a user