From 26a75d12d33ff80ee797ca32373f6333da4f194f Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 9 Mar 2021 23:30:38 -0600 Subject: tcg: Move MAX_CODE_GEN_BUFFER_SIZE to tcg-target.h Remove the ifdef ladder and move each define into the appropriate header file. Reviewed-by: Luis Pires Reviewed-by: Alex Bennée Signed-off-by: Richard Henderson --- tcg/tci/tcg-target.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tcg/tci/tcg-target.h') diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h index 52af6d8bc5..d0b5f3fa64 100644 --- a/tcg/tci/tcg-target.h +++ b/tcg/tci/tcg-target.h @@ -43,6 +43,7 @@ #define TCG_TARGET_INTERPRETER 1 #define TCG_TARGET_INSN_UNIT_SIZE 1 #define TCG_TARGET_TLB_DISPLACEMENT_BITS 32 +#define MAX_CODE_GEN_BUFFER_SIZE ((size_t)-1) #if UINTPTR_MAX == UINT32_MAX # define TCG_TARGET_REG_BITS 32 -- cgit v1.2.3-55-g7522