From 447864a94a1679b5b079e08bb7208a0005381cef Mon Sep 17 00:00:00 2001 From: Sylvain Henry Date: Tue, 13 Aug 2019 17:26:32 +0200 Subject: Module hierarchy: StgToCmm (#13009) Add StgToCmm module hierarchy. Platform modules that are used in several other places (NCG, LLVM codegen, Cmm transformations) are put into GHC.Platform. --- compiler/cmm/CmmParse.y | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'compiler/cmm/CmmParse.y') diff --git a/compiler/cmm/CmmParse.y b/compiler/cmm/CmmParse.y index f563145250..319286ba5a 100644 --- a/compiler/cmm/CmmParse.y +++ b/compiler/cmm/CmmParse.y @@ -204,21 +204,21 @@ module CmmParse ( parseCmmFile ) where import GhcPrelude -import StgCmmExtCode +import GHC.StgToCmm.ExtCode import CmmCallConv -import StgCmmProf -import StgCmmHeap -import StgCmmMonad hiding ( getCode, getCodeR, getCodeScoped, emitLabel, emit, emitStore - , emitAssign, emitOutOfLine, withUpdFrameOff - , getUpdFrameOff ) -import qualified StgCmmMonad as F -import StgCmmUtils -import StgCmmForeign -import StgCmmExpr -import StgCmmClosure -import StgCmmLayout hiding (ArgRep(..)) -import StgCmmTicky -import StgCmmBind ( emitBlackHoleCode, emitUpdateFrame ) +import GHC.StgToCmm.Prof +import GHC.StgToCmm.Heap +import GHC.StgToCmm.Monad hiding ( getCode, getCodeR, getCodeScoped, emitLabel, emit + , emitStore, emitAssign, emitOutOfLine, withUpdFrameOff + , getUpdFrameOff ) +import qualified GHC.StgToCmm.Monad as F +import GHC.StgToCmm.Utils +import GHC.StgToCmm.Foreign +import GHC.StgToCmm.Expr +import GHC.StgToCmm.Closure +import GHC.StgToCmm.Layout hiding (ArgRep(..)) +import GHC.StgToCmm.Ticky +import GHC.StgToCmm.Bind ( emitBlackHoleCode, emitUpdateFrame ) import CoreSyn ( Tickish(SourceNote) ) import CmmOpt -- cgit v1.2.1