diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-03-08 16:48:02 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-05-16 16:30:29 -0700 |
commit | 76cef4b233da82641fca61cb7783a30fc7096053 (patch) | |
tree | a62e639a06d4a91cb3b9b126851abc02fc23002b | |
parent | ddfdd4178beb56543ac98976efbc885d7e2b5150 (diff) | |
download | qemu-76cef4b233da82641fca61cb7783a30fc7096053.zip qemu-76cef4b233da82641fca61cb7783a30fc7096053.tar.gz qemu-76cef4b233da82641fca61cb7783a30fc7096053.tar.bz2 |
tcg: Widen tcg_gen_code pc_start argument to uint64_t
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r-- | include/tcg/tcg.h | 2 | ||||
-rw-r--r-- | tcg/tcg.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index f40de41..42a3c05 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -852,7 +852,7 @@ void tcg_register_thread(void); void tcg_prologue_init(TCGContext *s); void tcg_func_start(TCGContext *s); -int tcg_gen_code(TCGContext *s, TranslationBlock *tb, target_ulong pc_start); +int tcg_gen_code(TCGContext *s, TranslationBlock *tb, uint64_t pc_start); void tb_target_set_jmp_target(const TranslationBlock *, int, uintptr_t, uintptr_t); @@ -5949,7 +5949,7 @@ int64_t tcg_cpu_exec_time(void) #endif -int tcg_gen_code(TCGContext *s, TranslationBlock *tb, target_ulong pc_start) +int tcg_gen_code(TCGContext *s, TranslationBlock *tb, uint64_t pc_start) { #ifdef CONFIG_PROFILER TCGProfile *prof = &s->prof; |