summaryrefslogtreecommitdiff
path: root/compiler/nativeGen
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-08-06 17:34:12 +0100
committerIan Lynagh <ian@well-typed.com>2012-08-06 17:49:22 +0100
commit8e7fb28fc89eb9b99c747698f41995c269cd1090 (patch)
treee1180d9b772e03c41fe5058682b81bb32f610d08 /compiler/nativeGen
parent6997bb5ec1b1e755d954e910d76322ad1963f94b (diff)
downloadhaskell-8e7fb28fc89eb9b99c747698f41995c269cd1090.tar.gz
Start separating out the RTS and Haskell imports of MachRegs.h
No functional differences yet
Diffstat (limited to 'compiler/nativeGen')
-rw-r--r--compiler/nativeGen/PPC/Regs.hs2
-rw-r--r--compiler/nativeGen/RegAlloc/Linear/Main.hs2
-rw-r--r--compiler/nativeGen/SPARC/RegPlate.hs2
-rw-r--r--compiler/nativeGen/X86/Regs.hs2
4 files changed, 4 insertions, 4 deletions
diff --git a/compiler/nativeGen/PPC/Regs.hs b/compiler/nativeGen/PPC/Regs.hs
index fe4e06fcc5..0d1c5705af 100644
--- a/compiler/nativeGen/PPC/Regs.hs
+++ b/compiler/nativeGen/PPC/Regs.hs
@@ -55,7 +55,7 @@ where
#include "nativeGen/NCG.h"
#include "HsVersions.h"
-#include "../includes/stg/MachRegs.h"
+#include "../includes/stg/HaskellMachRegs.h"
import Reg
import RegClass
diff --git a/compiler/nativeGen/RegAlloc/Linear/Main.hs b/compiler/nativeGen/RegAlloc/Linear/Main.hs
index 0d3f7485c3..07b6e33d25 100644
--- a/compiler/nativeGen/RegAlloc/Linear/Main.hs
+++ b/compiler/nativeGen/RegAlloc/Linear/Main.hs
@@ -130,7 +130,7 @@ import Data.Maybe
import Data.List
import Control.Monad
-#include "../includes/stg/MachRegs.h"
+#include "../includes/stg/HaskellMachRegs.h"
-- -----------------------------------------------------------------------------
diff --git a/compiler/nativeGen/SPARC/RegPlate.hs b/compiler/nativeGen/SPARC/RegPlate.hs
index 32d2da187f..be638a934b 100644
--- a/compiler/nativeGen/SPARC/RegPlate.hs
+++ b/compiler/nativeGen/SPARC/RegPlate.hs
@@ -100,7 +100,7 @@ import FastBool
#define f31 63
-#include "../includes/stg/MachRegs.h"
+#include "../includes/stg/HaskellMachRegs.h"
-- | Check whether a machine register is free for allocation.
freeReg :: RegNo -> FastBool
diff --git a/compiler/nativeGen/X86/Regs.hs b/compiler/nativeGen/X86/Regs.hs
index 854df0d002..44052582b6 100644
--- a/compiler/nativeGen/X86/Regs.hs
+++ b/compiler/nativeGen/X86/Regs.hs
@@ -51,7 +51,7 @@ where
#include "nativeGen/NCG.h"
#include "HsVersions.h"
-#include "../includes/stg/MachRegs.h"
+#include "../includes/stg/HaskellMachRegs.h"
import Reg
import RegClass