tcg: Only include 'tcg-has.h' when necessary

TCG_TARGET_HAS_* definitions don't need to be exposed
by "tcg/tcg.h". Only include 'tcg-has.h' when necessary.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250108215156.8731-15-philmd@linaro.org>
This commit is contained in:
Richard Henderson 2025-01-08 22:51:55 +01:00
parent f15d00a4c1
commit 93280b6738
9 changed files with 8 additions and 4 deletions

View file

@ -64,8 +64,6 @@ typedef uint64_t TCGRegSet;
#error unsupported
#endif
#include "tcg/tcg-has.h"
typedef enum TCGOpcode {
#define DEF(name, oargs, iargs, cargs, flags) INDEX_op_ ## name,
#include "tcg/tcg-opc.h"