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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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/sparc/tcg-target.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tcg/sparc/tcg-target.h') diff --git a/tcg/sparc/tcg-target.h b/tcg/sparc/tcg-target.h index f66f5d07dc..86bb9a2d39 100644 --- a/tcg/sparc/tcg-target.h +++ b/tcg/sparc/tcg-target.h @@ -30,6 +30,7 @@ #define TCG_TARGET_INSN_UNIT_SIZE 4 #define TCG_TARGET_TLB_DISPLACEMENT_BITS 32 #define TCG_TARGET_NB_REGS 32 +#define MAX_CODE_GEN_BUFFER_SIZE (2 * GiB) typedef enum { TCG_REG_G0 = 0, -- cgit v1.2.3