summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-09-10 00:28:33 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-09-13 11:26:43 -0400
commita0e220b77957738b9966a099b5616017ab7b05b6 (patch)
treebbf79fad350c2cee83c1b911f51134d5acf5f007
parentc45c89d634d227476c5ef95f9ce9c4f3c8172d19 (diff)
downloadhaskell-a0e220b77957738b9966a099b5616017ab7b05b6.tar.gz
Remove empty NCG.h
-rw-r--r--compiler/nativeGen/AsmCodeGen.hs2
-rw-r--r--compiler/nativeGen/NCG.h11
-rw-r--r--compiler/nativeGen/PPC/CodeGen.hs1
-rw-r--r--compiler/nativeGen/PPC/Instr.hs1
-rw-r--r--compiler/nativeGen/PPC/RegInfo.hs1
-rw-r--r--compiler/nativeGen/PPC/Regs.hs1
-rw-r--r--compiler/nativeGen/RegAlloc/Graph/Stats.hs2
-rw-r--r--compiler/nativeGen/SPARC/CodeGen.hs1
-rw-r--r--compiler/nativeGen/SPARC/Instr.hs1
-rw-r--r--compiler/nativeGen/SPARC/Ppr.hs1
-rw-r--r--compiler/nativeGen/X86/CodeGen.hs1
-rw-r--r--compiler/nativeGen/X86/Instr.hs1
-rw-r--r--compiler/nativeGen/X86/Ppr.hs1
-rw-r--r--compiler/nativeGen/X86/RegInfo.hs1
-rw-r--r--compiler/nativeGen/X86/Regs.hs1
15 files changed, 0 insertions, 27 deletions
diff --git a/compiler/nativeGen/AsmCodeGen.hs b/compiler/nativeGen/AsmCodeGen.hs
index 0bbb07ffd8..f6ccc08aee 100644
--- a/compiler/nativeGen/AsmCodeGen.hs
+++ b/compiler/nativeGen/AsmCodeGen.hs
@@ -27,8 +27,6 @@ module AsmCodeGen (
) where
#include "HsVersions.h"
-#include "nativeGen/NCG.h"
-
import GhcPrelude
diff --git a/compiler/nativeGen/NCG.h b/compiler/nativeGen/NCG.h
deleted file mode 100644
index e7e20768b6..0000000000
--- a/compiler/nativeGen/NCG.h
+++ /dev/null
@@ -1,11 +0,0 @@
-/* -----------------------------------------------------------------------------
-
- (c) The University of Glasgow, 1994-2004
-
- Native-code generator header file - just useful macros for now.
-
- -------------------------------------------------------------------------- */
-
-#pragma once
-
-#include "ghc_boot_platform.h"
diff --git a/compiler/nativeGen/PPC/CodeGen.hs b/compiler/nativeGen/PPC/CodeGen.hs
index 5ae9ce76ec..ad8c18b4f2 100644
--- a/compiler/nativeGen/PPC/CodeGen.hs
+++ b/compiler/nativeGen/PPC/CodeGen.hs
@@ -21,7 +21,6 @@ module PPC.CodeGen (
where
#include "HsVersions.h"
-#include "nativeGen/NCG.h"
#include "../includes/MachDeps.h"
-- NCG stuff:
diff --git a/compiler/nativeGen/PPC/Instr.hs b/compiler/nativeGen/PPC/Instr.hs
index 22dc4ff6e1..69aa954485 100644
--- a/compiler/nativeGen/PPC/Instr.hs
+++ b/compiler/nativeGen/PPC/Instr.hs
@@ -9,7 +9,6 @@
-----------------------------------------------------------------------------
#include "HsVersions.h"
-#include "nativeGen/NCG.h"
module PPC.Instr (
archWordFormat,
diff --git a/compiler/nativeGen/PPC/RegInfo.hs b/compiler/nativeGen/PPC/RegInfo.hs
index c369cac179..5ed0ccded3 100644
--- a/compiler/nativeGen/PPC/RegInfo.hs
+++ b/compiler/nativeGen/PPC/RegInfo.hs
@@ -17,7 +17,6 @@ module PPC.RegInfo (
where
-#include "nativeGen/NCG.h"
#include "HsVersions.h"
import GhcPrelude
diff --git a/compiler/nativeGen/PPC/Regs.hs b/compiler/nativeGen/PPC/Regs.hs
index 02940e593a..b0087901a8 100644
--- a/compiler/nativeGen/PPC/Regs.hs
+++ b/compiler/nativeGen/PPC/Regs.hs
@@ -47,7 +47,6 @@ module PPC.Regs (
where
-#include "nativeGen/NCG.h"
#include "HsVersions.h"
import GhcPrelude
diff --git a/compiler/nativeGen/RegAlloc/Graph/Stats.hs b/compiler/nativeGen/RegAlloc/Graph/Stats.hs
index f765224072..152e813515 100644
--- a/compiler/nativeGen/RegAlloc/Graph/Stats.hs
+++ b/compiler/nativeGen/RegAlloc/Graph/Stats.hs
@@ -14,8 +14,6 @@ module RegAlloc.Graph.Stats (
countSRMs, addSRM
) where
-#include "nativeGen/NCG.h"
-
import GhcPrelude
import qualified GraphColor as Color
diff --git a/compiler/nativeGen/SPARC/CodeGen.hs b/compiler/nativeGen/SPARC/CodeGen.hs
index bb8bbe16b6..7c862ff69c 100644
--- a/compiler/nativeGen/SPARC/CodeGen.hs
+++ b/compiler/nativeGen/SPARC/CodeGen.hs
@@ -18,7 +18,6 @@ module SPARC.CodeGen (
where
#include "HsVersions.h"
-#include "nativeGen/NCG.h"
#include "../includes/MachDeps.h"
-- NCG stuff:
diff --git a/compiler/nativeGen/SPARC/Instr.hs b/compiler/nativeGen/SPARC/Instr.hs
index 77a93af1fc..c26cfcc4a0 100644
--- a/compiler/nativeGen/SPARC/Instr.hs
+++ b/compiler/nativeGen/SPARC/Instr.hs
@@ -8,7 +8,6 @@
--
-----------------------------------------------------------------------------
#include "HsVersions.h"
-#include "nativeGen/NCG.h"
module SPARC.Instr (
RI(..),
diff --git a/compiler/nativeGen/SPARC/Ppr.hs b/compiler/nativeGen/SPARC/Ppr.hs
index 2bec7ec01f..5c7d9fabbd 100644
--- a/compiler/nativeGen/SPARC/Ppr.hs
+++ b/compiler/nativeGen/SPARC/Ppr.hs
@@ -23,7 +23,6 @@ module SPARC.Ppr (
where
#include "HsVersions.h"
-#include "nativeGen/NCG.h"
import GhcPrelude
diff --git a/compiler/nativeGen/X86/CodeGen.hs b/compiler/nativeGen/X86/CodeGen.hs
index a5b64760a2..9f0af9429d 100644
--- a/compiler/nativeGen/X86/CodeGen.hs
+++ b/compiler/nativeGen/X86/CodeGen.hs
@@ -27,7 +27,6 @@ module X86.CodeGen (
where
#include "HsVersions.h"
-#include "nativeGen/NCG.h"
#include "../includes/MachDeps.h"
-- NCG stuff:
diff --git a/compiler/nativeGen/X86/Instr.hs b/compiler/nativeGen/X86/Instr.hs
index 776e2d9389..d4502a0088 100644
--- a/compiler/nativeGen/X86/Instr.hs
+++ b/compiler/nativeGen/X86/Instr.hs
@@ -15,7 +15,6 @@ module X86.Instr (Instr(..), Operand(..), PrefetchVariant(..), JumpDest(..),
where
#include "HsVersions.h"
-#include "nativeGen/NCG.h"
import GhcPrelude
diff --git a/compiler/nativeGen/X86/Ppr.hs b/compiler/nativeGen/X86/Ppr.hs
index 095d9eba7c..76a806982e 100644
--- a/compiler/nativeGen/X86/Ppr.hs
+++ b/compiler/nativeGen/X86/Ppr.hs
@@ -21,7 +21,6 @@ module X86.Ppr (
where
#include "HsVersions.h"
-#include "nativeGen/NCG.h"
import GhcPrelude
diff --git a/compiler/nativeGen/X86/RegInfo.hs b/compiler/nativeGen/X86/RegInfo.hs
index 19056be4fa..eb5e9bc7fc 100644
--- a/compiler/nativeGen/X86/RegInfo.hs
+++ b/compiler/nativeGen/X86/RegInfo.hs
@@ -6,7 +6,6 @@ module X86.RegInfo (
where
-#include "nativeGen/NCG.h"
#include "HsVersions.h"
import GhcPrelude
diff --git a/compiler/nativeGen/X86/Regs.hs b/compiler/nativeGen/X86/Regs.hs
index 6d21545563..24cdff89af 100644
--- a/compiler/nativeGen/X86/Regs.hs
+++ b/compiler/nativeGen/X86/Regs.hs
@@ -47,7 +47,6 @@ module X86.Regs (
where
-#include "nativeGen/NCG.h"
#include "HsVersions.h"
import GhcPrelude