projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f51a1dd
)
include/exec: Remove `tb_pc()`
author
Anton Johansson
<anjo@rev.ng>
Mon, 27 Feb 2023 13:52:02 +0000
(14:52 +0100)
committer
Richard Henderson
<richard.henderson@linaro.org>
Wed, 1 Mar 2023 17:33:26 +0000
(07:33 -1000)
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>
include/exec/exec-all.h
patch
|
blob
|
history
diff --git
a/include/exec/exec-all.h
b/include/exec/exec-all.h
index 6af001bfde5cf8b563d2d4dd40d4f18cd0e9ca5e..e09254333d36fca7f99231debeb6aa52d2edf4f2 100644
(file)
--- 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