summary refs log tree commit diff stats
path: root/target/i386/helper.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-04-30 13:57:30 -0700
committerRichard Henderson <richard.henderson@linaro.org>2025-05-01 07:37:13 -0700
commite1d8fabc20adb6a766773adb4a9b5bfe93e329bb (patch)
tree55ac56827ebe1a6b9c934225374521a7c2d0ef11 /target/i386/helper.c
parentc1be135ad5b124b08715ca836b95b738c6b9d7d4 (diff)
downloadfocaccia-qemu-e1d8fabc20adb6a766773adb4a9b5bfe93e329bb.tar.gz
focaccia-qemu-e1d8fabc20adb6a766773adb4a9b5bfe93e329bb.zip
tcg: Define INSN_START_WORDS as constant 3
Use the same value for all targets.

Rename TARGET_INSN_START_WORDS and do not depend on
TARGET_INSN_START_EXTRA_WORDS.
Remove TCGContext.insn_start_words.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/i386/helper.c')
-rw-r--r--target/i386/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/i386/helper.c b/target/i386/helper.c
index 197fdac7dd..e0aaed3c4c 100644
--- a/target/i386/helper.c
+++ b/target/i386/helper.c
@@ -526,7 +526,7 @@ void cpu_x86_inject_mce(Monitor *mon, X86CPU *cpu, int bank,
 static inline target_ulong get_memio_eip(CPUX86State *env)
 {
 #ifdef CONFIG_TCG
-    uint64_t data[TARGET_INSN_START_WORDS];
+    uint64_t data[INSN_START_WORDS];
     CPUState *cs = env_cpu(env);
 
     if (!cpu_unwind_state_data(cs, cs->mem_io_pc, data)) {