Commit b3f24cf8 authored by simonmar's avatar simonmar
Browse files

[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)
parent 3145ceb3
/* -----------------------------------------------------------------------------
* $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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment