From 0a2411ea93ffacea2648b40fb381b6c4bd977d7c Mon Sep 17 00:00:00 2001 From: Emilio Coppa Date: Thu, 6 Apr 2023 12:44:25 +0200 Subject: [PATCH] fix notify bb site_id --- include/exec/gen-icount.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h index 4b53c295d4d..817725eb33c 100644 --- a/include/exec/gen-icount.h +++ b/include/exec/gen-icount.h @@ -44,7 +44,7 @@ static inline void gen_tb_start(TranslationBlock *tb) tcg_temp_free_i32(count); - TCGv_i64 block = tcg_const_i64((uint64_t)tb); + TCGv_i64 block = tcg_const_i64(tb->pc); gen_helper_sym_notify_block(block); tcg_temp_free_i64(block); }