summaryrefslogtreecommitdiff
path: root/compiler/ghci/ByteCodeLink.lhs
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-10-11 20:01:10 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-10-11 20:01:10 +0000
commitab22f4e6456820c1b5169d75f5975a94e61f54ce (patch)
tree44eb4222120653313776566754c006e1deeb77a3 /compiler/ghci/ByteCodeLink.lhs
parent6b4592943b799175dec4549882bbf06fa87a0739 (diff)
downloadhaskell-ab22f4e6456820c1b5169d75f5975a94e61f54ce.tar.gz
More import tidying and fixing the stage 2 build
Diffstat (limited to 'compiler/ghci/ByteCodeLink.lhs')
-rw-r--r--compiler/ghci/ByteCodeLink.lhs24
1 files changed, 11 insertions, 13 deletions
diff --git a/compiler/ghci/ByteCodeLink.lhs b/compiler/ghci/ByteCodeLink.lhs
index 6bca06a8f3..fd6654579c 100644
--- a/compiler/ghci/ByteCodeLink.lhs
+++ b/compiler/ghci/ByteCodeLink.lhs
@@ -1,10 +1,9 @@
%
-% (c) The University of Glasgow 2000
+% (c) The University of Glasgow 2000-2006
%
-\section[ByteCodeLink]{Bytecode assembler and linker}
+ByteCodeLink: Bytecode assembler and linker
\begin{code}
-
{-# OPTIONS -optc-DNON_POSIX_SOURCE #-}
module ByteCodeLink (
@@ -15,21 +14,20 @@ module ByteCodeLink (
#include "HsVersions.h"
-import ByteCodeItbls ( ItblEnv, ItblPtr )
-import ByteCodeAsm ( UnlinkedBCO(..), BCOPtr(..), sizeSS, ssElts )
-import ObjLink ( lookupSymbol )
+import ByteCodeItbls
+import ByteCodeAsm
+import ObjLink
-import Name ( Name, nameModule, nameOccName )
+import Name
import NameEnv
-import OccName ( occNameFS )
-import PrimOp ( PrimOp, primOpOcc )
+import OccName
+import PrimOp
import Module
-import PackageConfig ( mainPackageId, packageIdFS )
-import FastString ( FastString(..), unpackFS, zEncodeFS )
-import Panic ( GhcException(..) )
+import PackageConfig
+import FastString
+import Panic
#ifdef DEBUG
-import Name ( isExternalName )
import Outputable
#endif