Don't define STOLEN_X86_REGS in Cmm.h
authorIan Lynagh <ian@well-typed.com>
Mon, 6 Aug 2012 14:55:17 +0000 (15:55 +0100)
committerIan Lynagh <ian@well-typed.com>
Mon, 6 Aug 2012 14:55:17 +0000 (15:55 +0100)
We weren't defining it in the other places that MachRegs.h gets
imported, which seems a little suspicious. And if it's not defined
then it defaults to 4 anyway, so this define doesn't seem necessary.

includes/Cmm.h

index 1788122..c7f34b6 100644 (file)
  * Need MachRegs, because some of the RTS code is conditionally
  * compiled based on REG_R1, REG_R2, etc.
  */
-#define STOLEN_X86_REGS 4
 #include "stg/MachRegs.h"
 
 #include "rts/storage/Liveness.h"