From b3f24cf879f705b861080d1c80d4ec00511708dc Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 13 Jan 2005 16:21:14 +0000 Subject: [PATCH] [project @ 2005-01-13 16:21:14 by simonmar] default STOLEN_X86_REGS to 4 (workaround because GHC doesn't normally define STOLEN_X86_REGS when compiling plan .c source) --- ghc/includes/MachRegs.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc/includes/MachRegs.h b/ghc/includes/MachRegs.h index 0261fe7..031ec41 100644 --- a/ghc/includes/MachRegs.h +++ b/ghc/includes/MachRegs.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: MachRegs.h,v 1.18 2005/01/13 16:04:52 simonmar Exp $ + * $Id: MachRegs.h,v 1.19 2005/01/13 16:21:14 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -210,6 +210,10 @@ #endif #define REG_Sp ebp +#ifndef STOLEN_X86_REGS +#define STOLEN_X86_REGS 4 +#endif + #if STOLEN_X86_REGS >= 3 # define REG_R1 esi #endif -- 1.7.10.4