mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 20:33:54 -06:00
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
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue