summary refs log tree commit diff stats
path: root/include/tcg/tcg-op.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-03-19 12:46:55 +0100
committerRichard Henderson <richard.henderson@linaro.org>2025-04-23 15:07:32 -0700
commit4ff1b33edf95497a8e6f0615a3ae91f736cf1f8a (patch)
tree98b1e4018c5ff22a632592a283b1f13e5deb209e /include/tcg/tcg-op.h
parent21d41c566d0694a90836d5c7ae4c6b279f5312a8 (diff)
downloadfocaccia-qemu-4ff1b33edf95497a8e6f0615a3ae91f736cf1f8a.tar.gz
focaccia-qemu-4ff1b33edf95497a8e6f0615a3ae91f736cf1f8a.zip
tcg: Always define TARGET_INSN_START_EXTRA_WORDS
Do not define TARGET_INSN_START_EXTRA_WORDS under the
hood, have each target explicitly define it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/tcg/tcg-op.h')
-rw-r--r--include/tcg/tcg-op.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tcg/tcg-op.h b/include/tcg/tcg-op.h
index bc46b5570c..cded92a447 100644
--- a/include/tcg/tcg-op.h
+++ b/include/tcg/tcg-op.h
@@ -23,7 +23,7 @@
 # error
 #endif
 
-#ifndef TARGET_INSN_START_EXTRA_WORDS
+#if TARGET_INSN_START_EXTRA_WORDS == 0
 static inline void tcg_gen_insn_start(target_ulong pc)
 {
     TCGOp *op = tcg_emit_op(INDEX_op_insn_start, 64 / TCG_TARGET_REG_BITS);