From: simonmar Date: Thu, 13 Jan 2005 16:21:14 +0000 (+0000) Subject: [project @ 2005-01-13 16:21:14 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~1241 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=b3f24cf879f705b861080d1c80d4ec00511708dc;p=ghc-hetmet.git [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) --- 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