[project @ 2005-01-13 16:21:14 by simonmar]
authorsimonmar <unknown>
Thu, 13 Jan 2005 16:21:14 +0000 (16:21 +0000)
committersimonmar <unknown>
Thu, 13 Jan 2005 16:21:14 +0000 (16:21 +0000)
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

index 0261fe7..031ec41 100644 (file)
@@ -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
  *
 #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