diff options
author | Anton Johansson <anjo@rev.ng> | 2023-02-27 14:52:02 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-03-01 07:33:26 -1000 |
commit | 640be074fa1cadf4b1447c122efaaa2987fa774a (patch) | |
tree | 6ee95b872abc7f556e7cf2195b4d9d51b6d1e592 /include | |
parent | f51a1dd72f5ee0714d2258e3f53b6b2471074c1a (diff) | |
download | qemu-640be074fa1cadf4b1447c122efaaa2987fa774a.zip qemu-640be074fa1cadf4b1447c122efaaa2987fa774a.tar.gz qemu-640be074fa1cadf4b1447c122efaaa2987fa774a.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/exec/exec-all.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 6af001b..e092543 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -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 |