From 0db0e46c40a3a2af71f23033aa09a142d43b8538 Mon Sep 17 00:00:00 2001 From: Michal Terepeta Date: Mon, 19 Mar 2018 11:58:39 -0400 Subject: Get rid of more CPP in cmm/ and codeGen/ This removes a bunch of unnecessary includes of `HsVersions.h` along with unnecessary CPP (e.g., due to checking for DEBUG which can be achieved by looking at `debugIsOn`) Signed-off-by: Michal Terepeta Test Plan: ./validate Reviewers: bgamari, simonmar Reviewed By: bgamari Subscribers: rwbarton, thomie, carter Differential Revision: https://phabricator.haskell.org/D4462 --- compiler/codeGen/CgUtils.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'compiler/codeGen/CgUtils.hs') diff --git a/compiler/codeGen/CgUtils.hs b/compiler/codeGen/CgUtils.hs index c20f1fd1d0..6a2840294a 100644 --- a/compiler/codeGen/CgUtils.hs +++ b/compiler/codeGen/CgUtils.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE CPP, GADTs #-} +{-# LANGUAGE GADTs #-} ----------------------------------------------------------------------------- -- @@ -10,8 +10,6 @@ module CgUtils ( fixStgRegisters ) where -#include "HsVersions.h" - import GhcPrelude import CodeGen.Platform -- cgit v1.2.1