diff options
-rw-r--r-- | compiler/cbits/cutils.c (renamed from compiler/parser/cutils.c) | 0 | ||||
-rw-r--r-- | compiler/ghc.cabal.in | 8 | ||||
-rw-r--r-- | compiler/parser/cutils.h | 10 |
3 files changed, 3 insertions, 15 deletions
diff --git a/compiler/parser/cutils.c b/compiler/cbits/cutils.c index fb7e3f7335..fb7e3f7335 100644 --- a/compiler/parser/cutils.c +++ b/compiler/cbits/cutils.c diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index 58b840b6ad..2d3e3254ff 100644 --- a/compiler/ghc.cabal.in +++ b/compiler/ghc.cabal.in @@ -136,7 +136,7 @@ Library UnboxedTuples UndecidableInstances - Include-Dirs: . parser utils + Include-Dirs: . utils -- We need to set the unit id to ghc (without a version number) -- as it's magic. @@ -154,9 +154,9 @@ Library Install-Includes: HsVersions.h c-sources: - parser/cutils.c - ghci/keepCAFsForGHCi.c + cbits/cutils.c cbits/genSym.c + ghci/keepCAFsForGHCi.c hs-source-dirs: . @@ -586,8 +586,6 @@ Library Hoopl.Dataflow Hoopl.Graph Hoopl.Label --- CgInfoTbls used in ghci/DebuggerUtils --- CgHeapery mkVirtHeapOffsets used in ghci Exposed-Modules: AsmCodeGen diff --git a/compiler/parser/cutils.h b/compiler/parser/cutils.h deleted file mode 100644 index 1d9104910d..0000000000 --- a/compiler/parser/cutils.h +++ /dev/null @@ -1,10 +0,0 @@ -/* ----------------------------------------------------------------------------- - * - * Utility C functions. - * - * -------------------------------------------------------------------------- */ - -#include <HsFFI.h> - -void enableTimingStats( void ); -void setHeapSize( HsInt size ); |