ghc-hetmet.git
15 years agoExternal Core lib: lots of cleanup
Tim Chevalier [Wed, 14 Jan 2009 22:44:28 +0000 (22:44 +0000)]
External Core lib: lots of cleanup

- Factor out code for applying newtypes from Check into CoreUtils
- Use this code in Prep, which allowed for some simplification
- Change Merge and ElimDeadCode to not flatten top-level binds
- Add a flag for elimDeadCode to tell it whether to keep
exported bindings or not.
- Other things.

15 years agoExternal Core: print out more precise dependency info
Tim Chevalier [Wed, 14 Jan 2009 22:17:34 +0000 (22:17 +0000)]
External Core: print out more precise dependency info

Print out the same recursive/non-recursive binding groups
that existed in internal Core in an External Core file,
rather than dumping everything into one big recursive group.

15 years agoFix "make install": Put "[]" in the install package.conf
Ian Lynagh [Wed, 14 Jan 2009 20:59:45 +0000 (20:59 +0000)]
Fix "make install": Put "[]" in the install package.conf

15 years agoRemove redundant import; spotted by Thorkil Naur
Ian Lynagh [Wed, 14 Jan 2009 18:19:37 +0000 (18:19 +0000)]
Remove redundant import; spotted by Thorkil Naur

15 years agoRemove a redundant import
Ian Lynagh [Wed, 14 Jan 2009 18:12:12 +0000 (18:12 +0000)]
Remove a redundant import

15 years agoDetect when a C finalizer calls back to Haskell
Simon Marlow [Wed, 14 Jan 2009 12:15:26 +0000 (12:15 +0000)]
Detect when a C finalizer calls back to Haskell
This is illegal now, after the fix for #1364, but it turns out that
the existing check for dodgy callbacks doesn't catch finalizers
calling back, so we need another test.  This will be particularly
important for 6.10.2, because the behaviour has changed.

15 years agoFix Trac #2931
simonpj@microsoft.com [Tue, 13 Jan 2009 17:09:48 +0000 (17:09 +0000)]
Fix Trac #2931

Fix the lexical analyser when it encounters 'x<EOF> and Template
Haskell is on.

15 years agoRewrite CorePrep and improve eta expansion
simonpj@microsoft.com [Tue, 13 Jan 2009 16:49:53 +0000 (16:49 +0000)]
Rewrite CorePrep and improve eta expansion

This patch does two main things

a) Rewrite most of CorePrep to be much easier to understand (I hope!).
   The invariants established by CorePrep are now written out, and
   the code is more perspicuous.  It is surpringly hard to get right,
   and the old code had become quite incomprehensible.

b) Rewrite the eta-expander so that it does a bit of simplifying
   on-the-fly, and thereby guarantees to maintain the CorePrep
   invariants.  This make it much easier to use from CorePrep, and
   is a generally good thing anyway.

A couple of pieces of re-structuring:

*  I moved the eta-expander and arity analysis stuff into a new
   module coreSyn/CoreArity.

   Max will find that the type CoreArity.EtaInfo looks strangely
   familiar.

*  I moved a bunch of comments from Simplify to OccurAnal; that's
   why it looks as though there's a lot of lines changed in those
   modules.

On the way I fixed various things

  - Function arguments are eta expanded
       f (map g)  ===>  let s = \x. map g x in f s

  - Trac #2368

The result is a modest performance gain, I think mainly due
to the first of these changes:

--------------------------------------------------------------------------------
        Program           Size    Allocs   Runtime   Elapsed
--------------------------------------------------------------------------------
            Min          -1.0%    -17.4%    -19.1%    -46.4%
            Max          +0.3%     +0.5%     +5.4%    +53.8%
 Geometric Mean          -0.1%     -0.3%     -7.0%    -10.2%

15 years agoRename isIdentityCoercion to isIdentityCoI; add Coercion.isIdentityCoercion
simonpj@microsoft.com [Tue, 13 Jan 2009 16:48:04 +0000 (16:48 +0000)]
Rename isIdentityCoercion to isIdentityCoI; add Coercion.isIdentityCoercion

15 years agoSpelling in comment only
simonpj@microsoft.com [Tue, 13 Jan 2009 16:46:24 +0000 (16:46 +0000)]
Spelling in comment only

15 years agoMake the ASSERT more informative
simonpj@microsoft.com [Tue, 13 Jan 2009 16:41:33 +0000 (16:41 +0000)]
Make the ASSERT more informative

15 years agoExport mapOL from OrdList
simonpj@microsoft.com [Tue, 13 Jan 2009 16:40:51 +0000 (16:40 +0000)]
Export mapOL from OrdList

15 years agoImprove error messages slightly
simonpj@microsoft.com [Tue, 13 Jan 2009 16:40:20 +0000 (16:40 +0000)]
Improve error messages slightly

15 years agoDo not do SpecConstr on functions that unconditionally diverge
simonpj@microsoft.com [Tue, 13 Jan 2009 16:29:18 +0000 (16:29 +0000)]
Do not do SpecConstr on functions that unconditionally diverge

There is no point in specialising a function that is guaranteed to
diverge, and doing so screwed up arity stuff.

See Note [Do not specialise diverging functions].

15 years agoMake -XTypeFamilies imply -XRelaxedPolyRec (Trac #2944)
simonpj@microsoft.com [Tue, 13 Jan 2009 16:27:16 +0000 (16:27 +0000)]
Make -XTypeFamilies imply -XRelaxedPolyRec (Trac #2944)

15 years agoFix Trac #2937: deserialising assoicated type definitions
simonpj@microsoft.com [Tue, 13 Jan 2009 15:32:17 +0000 (15:32 +0000)]
Fix Trac #2937: deserialising assoicated type definitions

The deserialiser (TcIface) for associated type definitions wasn't
taking into account that the class decl brings into scope some
type variables that scope over the data/type family declaration.

Easy to fix: the new function is TcIface.bindIfaceTyVars_AT

15 years agoAlways check the result of pthread_mutex_lock() and pthread_mutex_unlock().
Matthias Kilian [Sun, 4 Jan 2009 19:24:43 +0000 (19:24 +0000)]
Always check the result of pthread_mutex_lock() and pthread_mutex_unlock().

Don't check pthread_mutex_*lock() only on Linux and/or only if DEBUG
is defined. The return values of those functions are well defined
and should be supported on all operation systems with pthreads. The
checks are cheap enough to do them even in the default build (without
-DDEBUG).

While here, recycle an unused macro ASSERT_LOCK_NOTHELD, and let
the debugBelch part enabled with -DLOCK_DEBUG work independently
of -DDEBUG.

15 years agosanity checking fixes
Simon Marlow [Mon, 12 Jan 2009 12:10:42 +0000 (12:10 +0000)]
sanity checking fixes

15 years agoKeep the remembered sets local to each thread during parallel GC
Simon Marlow [Mon, 12 Jan 2009 12:10:24 +0000 (12:10 +0000)]
Keep the remembered sets local to each thread during parallel GC
This turns out to be quite vital for parallel programs:

  - The way we discover which threads to traverse is by finding
    dirty threads via the remembered sets (aka mutable lists).

  - A dirty thread will be on the remembered set of the capability
    that was running it, and we really want to traverse that thread's
    stack using the GC thread for the capability, because it is in
    that CPU's cache.  If we get this wrong, we get penalised badly by
    the memory system.

Previously we had per-capability mutable lists but they were
aggregated before GC and traversed by just one of the GC threads.
This resulted in very poor performance particularly for parallel
programs with deep stacks.

Now we keep per-capability remembered sets throughout GC, which also
removes a lock (recordMutableGen_sync).

15 years agoindicate which TSOs are dirty in the printAllThreads() output
Simon Marlow [Wed, 7 Jan 2009 15:14:49 +0000 (15:14 +0000)]
indicate which TSOs are dirty in the printAllThreads() output

15 years agoFix Trac #2584: Pretty printing of types with HsDocTy
David Waern [Fri, 9 Jan 2009 19:17:13 +0000 (19:17 +0000)]
Fix Trac #2584: Pretty printing of types with HsDocTy

The pretty printing clause for HsDocTy was wrong, causing brackets to be left
out. We now print Haddock comments on types as if they were postfix type
operators.

15 years agoAdd "Word size" to the +RTS --info output
Ian Lynagh [Fri, 9 Jan 2009 16:04:54 +0000 (16:04 +0000)]
Add "Word size" to the +RTS --info output

15 years agoCheck that make supports eval
Ian Lynagh [Fri, 9 Jan 2009 15:10:06 +0000 (15:10 +0000)]
Check that make supports eval

15 years agoAdd some more fields to +RTS --info
Ian Lynagh [Thu, 8 Jan 2009 13:11:01 +0000 (13:11 +0000)]
Add some more fields to +RTS --info

15 years agoFIX BUILD on Windows (fix for #2873 broke it)
Simon Marlow [Fri, 9 Jan 2009 09:06:58 +0000 (09:06 +0000)]
FIX BUILD on Windows (fix for #2873 broke it)

15 years agowhen calling mmap() with MAP_ANON, the fd argument should be -1
Simon Marlow [Thu, 8 Jan 2009 15:53:41 +0000 (15:53 +0000)]
when calling mmap() with MAP_ANON, the fd argument should be -1
might fix #2925

15 years agoFix Trac #2914: record wild cards and assoicated types
simonpj@microsoft.com [Thu, 8 Jan 2009 12:41:18 +0000 (12:41 +0000)]
Fix Trac #2914: record wild cards and assoicated types

15 years agoFix #2873: should fail if a package DB desn't exist
Simon Marlow [Thu, 8 Jan 2009 09:56:28 +0000 (09:56 +0000)]
Fix #2873: should fail if a package DB desn't exist
We allowed non-existence before because the user DB is allowed to not
exist, so now we have an explicit exception for that case.

15 years agoClose the races between throwTo and thread completion
Simon Marlow [Wed, 7 Jan 2009 14:05:07 +0000 (14:05 +0000)]
Close the races between throwTo and thread completion
Any threads we missed were being caught by the GC (possibly the idle
GC if the system was otherwise inactive), but that's not ideal.  The
fix (from Bertram Felgenhauer) is to use lockTSO to synchronise,
imposing an unconditional lockTSO on thread exit.  I couldn't measure
any performance overhead from doing this, so it seems reasonable.

15 years agoadd comment
Simon Marlow [Wed, 7 Jan 2009 12:11:42 +0000 (12:11 +0000)]
add comment

15 years agoFix two more locking issues in throwTo()
Bertram Felgenhauer [Wed, 7 Jan 2009 12:08:08 +0000 (12:08 +0000)]
Fix two more locking issues in throwTo()

15 years agomaybePerformBlockedException() should handle ThreadComplete/ThreadKilled
Simon Marlow [Wed, 7 Jan 2009 12:07:34 +0000 (12:07 +0000)]
maybePerformBlockedException() should handle ThreadComplete/ThreadKilled
Part of the fix for #2910

15 years agofix a race where the timer signal could remain turned off, leading to deadlock
Simon Marlow [Wed, 7 Jan 2009 12:06:52 +0000 (12:06 +0000)]
fix a race where the timer signal could remain turned off, leading to deadlock

15 years agoputMVar and takeMVar: add write_barrier() to fix race with throwTo
Simon Marlow [Wed, 7 Jan 2009 11:20:26 +0000 (11:20 +0000)]
putMVar and takeMVar: add write_barrier() to fix race with throwTo

15 years agocruft removal
Simon Marlow [Tue, 6 Jan 2009 15:44:08 +0000 (15:44 +0000)]
cruft removal

15 years agowake up the blocked exception queue on ThreadFinished; fixes #2910
Simon Marlow [Tue, 6 Jan 2009 15:32:54 +0000 (15:32 +0000)]
wake up the blocked exception queue on ThreadFinished; fixes #2910

15 years agobump GHC's max stack size to 512M
Simon Marlow [Fri, 19 Dec 2008 11:22:11 +0000 (11:22 +0000)]
bump GHC's max stack size to 512M
To accomodate compiling very long static lists (#2002)

15 years agoext-core: change .cabal file so we can build with either GHC 6.8 or 6.10
Tim Chevalier [Mon, 5 Jan 2009 19:27:57 +0000 (19:27 +0000)]
ext-core: change .cabal file so we can build with either GHC 6.8 or 6.10

15 years agoext-core: fix some Prep bugs
Tim Chevalier [Mon, 5 Jan 2009 19:27:34 +0000 (19:27 +0000)]
ext-core: fix some Prep bugs

15 years agoext-core: use shorter names when combining modules
Tim Chevalier [Mon, 5 Jan 2009 19:26:45 +0000 (19:26 +0000)]
ext-core: use shorter names when combining modules

15 years agoext-core: twiddle primitive things
Tim Chevalier [Mon, 5 Jan 2009 19:24:34 +0000 (19:24 +0000)]
ext-core: twiddle primitive things

15 years agoDon't pin a register for gc_thread on SPARC.
Ben.Lippmeier@anu.edu.au [Mon, 5 Jan 2009 03:07:58 +0000 (03:07 +0000)]
Don't pin a register for gc_thread on SPARC.

This makes the build work again.

15 years agoRequire HsColour by default
Ian Lynagh [Sun, 4 Jan 2009 21:46:47 +0000 (21:46 +0000)]
Require HsColour by default
This should stop us ending up without HsColour'ed sources on some
platforms.

We also now tell Cabal where to find HsColour, rather than it finding
it itself.

15 years agoFix build
Ian Lynagh [Sun, 4 Jan 2009 21:18:10 +0000 (21:18 +0000)]
Fix build

15 years agoAdd GHCi completions to :set and :show
Ori Avtalion [Tue, 9 Dec 2008 19:42:10 +0000 (19:42 +0000)]
Add GHCi completions to :set and :show

15 years agoFix sync-all: Check for --complete/partial before --<anything>
Ian Lynagh [Sun, 4 Jan 2009 18:46:52 +0000 (18:46 +0000)]
Fix sync-all: Check for --complete/partial before --<anything>
Patch from megacz in trac #2857

15 years agoRemove time from extralibs at request of maintainer
Ian Lynagh [Sun, 4 Jan 2009 11:55:09 +0000 (11:55 +0000)]
Remove time from extralibs at request of maintainer

15 years agovalidate fix: InteractiveEval no longer needs to import IdInfo
Ian Lynagh [Sat, 3 Jan 2009 15:47:54 +0000 (15:47 +0000)]
validate fix: InteractiveEval no longer needs to import  IdInfo

15 years agoFix validate: strs is no longer used in IfaceSyn
Ian Lynagh [Sat, 3 Jan 2009 15:36:24 +0000 (15:36 +0000)]
Fix validate: strs is no longer used in IfaceSyn

15 years agoRemove trailing whitespace from HaddockUtils
Ian Lynagh [Mon, 29 Dec 2008 19:17:27 +0000 (19:17 +0000)]
Remove trailing whitespace from HaddockUtils

15 years agoFix warnings in HaddockUtils
Ian Lynagh [Mon, 29 Dec 2008 19:16:57 +0000 (19:16 +0000)]
Fix warnings in HaddockUtils

15 years agoRemove dead code from HaddockUtils
Ian Lynagh [Mon, 29 Dec 2008 19:14:30 +0000 (19:14 +0000)]
Remove dead code from HaddockUtils

15 years agoMake record selectors into ordinary functions
simonpj@microsoft.com [Fri, 2 Jan 2009 14:28:51 +0000 (14:28 +0000)]
Make record selectors into ordinary functions

This biggish patch addresses Trac #2670.  The main effect is to make
record selectors into ordinary functions, whose unfoldings appear in
interface files, in contrast to their previous existence as magic
"implicit Ids".  This means that the usual machinery of optimisation,
analysis, and inlining applies to them, which was failing before when
the selector was somewhat complicated.  (Which it can be when
strictness annotations, unboxing annotations, and GADTs are involved.)

The change involves the following points

* Changes in Var.lhs to the representation of Var.  Now a LocalId can
  have an IdDetails as well as a GlobalId.  In particular, the
  information that an Id is a record selector is kept in the
  IdDetails.  While compiling the current module, the record selector
  *must* be a LocalId, so that it participates properly in compilation
  (free variables etc).

  This led me to change the (hidden) representation of Var, so that there
  is now only one constructor for Id, not two.

* The IdDetails is persisted into interface files, so that an
  importing module can see which Ids are records selectors.

* In TcTyClDecls, we generate the record-selector bindings in renamed,
  but not typechecked form.  In this way, we can get the typechecker
  to add all the types and so on, which is jolly helpful especially
  when GADTs or type families are involved.  Just like derived
  instance declarations.

  This is the big new chunk of 180 lines of code (much of which is
  commentary).  A call to the same function, mkAuxBinds, is needed in
  TcInstDcls for associated types.

* The typechecker therefore has to pin the correct IdDetails on to
  the record selector, when it typechecks it.  There was a neat way
  to do this, by adding a new sort of signature to HsBinds.Sig, namely
  IdSig.  This contains an Id (with the correct Name, Type, and IdDetails);
  the type checker uses it as the binder for the final binding.  This
  worked out rather easily.

* Record selectors are no longer "implicit ids", which entails changes to
     IfaceSyn.ifaceDeclSubBndrs
     HscTypes.implicitTyThings
     TidyPgm.getImplicitBinds
  (These three functions must agree.)

* MkId.mkRecordSelectorId is deleted entirely, some 300+ lines (incl
  comments) of very error prone code.  Happy days.

* A TyCon no longer contains the list of record selectors:
  algTcSelIds is gone

The renamer is unaffected, including the way that import and export of
record selectors is handled.

Other small things

* IfaceSyn.ifaceDeclSubBndrs had a fragile test for whether a data
  constructor had a wrapper.  I've replaced that with an explicit flag
  in the interface file. More robust I hope.

* I renamed isIdVar to isId, which touched a few otherwise-unrelated files.

15 years agoFix Trac #2721: reject newtype deriving if the class has associated types
simonpj@microsoft.com [Wed, 31 Dec 2008 16:43:00 +0000 (16:43 +0000)]
Fix Trac #2721: reject newtype deriving if the class has associated types

15 years ago-XImpredicativeTypes implies -XRankNTypes, and improve error msg in TcMType
simonpj@microsoft.com [Wed, 31 Dec 2008 15:25:17 +0000 (15:25 +0000)]
-XImpredicativeTypes implies -XRankNTypes, and improve error msg in TcMType

If you are going for impredicative types you almost certainly want RankN
too. The change to TcMType improves the error when you say
     T (forall a. blah)
where T is a type synonym.  This doesn't necessarily need impredicativity,
if you have LiberalTypeSynonyms.

15 years agoFix Trac #2856: make deriving work for type families
simonpj@microsoft.com [Wed, 31 Dec 2008 14:41:51 +0000 (14:41 +0000)]
Fix Trac #2856: make deriving work for type families

Darn, but TcDeriv is complicated, when type families get in on
the act!  This patch makes GeneralisedNewtypeDeriving work
properly for type families.  I think.

In order to do so, I found that GeneralisedNewtypeDeriving can
work for recursive newtypes too -- and since families are conservatively
marked recursive, that's a crucial part of the fix, and useful too.
See Note [Recursive newtypes] in TcDeriv.

15 years agoWhite space and spelling in comments
simonpj@microsoft.com [Wed, 31 Dec 2008 14:41:31 +0000 (14:41 +0000)]
White space and spelling in comments

15 years agoRemove -XImpredicativeTypes from -fglasgow-exts
simonpj@microsoft.com [Wed, 31 Dec 2008 14:40:06 +0000 (14:40 +0000)]
Remove -XImpredicativeTypes from -fglasgow-exts

See Trac #2846: impredicative types are far from stable, so
-fglasgow-exts should not imply them.  Maybe we should merge
this into 6.10?

15 years agoImprove error reporting for 'deriving'
simonpj@microsoft.com [Wed, 31 Dec 2008 14:35:21 +0000 (14:35 +0000)]
Improve error reporting for 'deriving'

a) Improve the extra suggested fix when there's a "no instance"
   error in a deriving clause.

b) Improve error location recording in tcInstDecl2

Many of the changes in tcInstDecl2 are simple reformatting.

15 years agoImprove error message in deriving (fix Trac #2851)
simonpj@microsoft.com [Tue, 30 Dec 2008 16:59:06 +0000 (16:59 +0000)]
Improve error message in deriving (fix Trac #2851)

15 years agoAvoid nasty name clash with associated data types (fixes Trac #2888)
simonpj@microsoft.com [Tue, 30 Dec 2008 16:44:32 +0000 (16:44 +0000)]
Avoid nasty name clash with associated data types (fixes Trac #2888)

The main bug was in TcHsType; see Note [Avoid name clashes for
associated data types].  However I did a bit of re-factoring while
I was abouut it.

I'm still a but unhappy with the use of TyCon.setTyConArgPoss; it'd
be better to construct the TyCon correctly in the first place.  But
that means passing an extra parameter to tcTyDecl1... maybe we should
do this.

15 years agoRefactor RnEnv to fix Trac #2901
simonpj@microsoft.com [Tue, 30 Dec 2008 15:04:45 +0000 (15:04 +0000)]
Refactor RnEnv to fix Trac #2901

This tidy-up fixes Trac #2901, and eliminates 20 lines of code.
Mainly this is done by making a version of lookupGlobalOccRn that
returns (Maybe Name); this replaces lookupSrcOccRn but does more.

15 years agoAdd quotes to error message
simonpj@microsoft.com [Tue, 30 Dec 2008 15:04:02 +0000 (15:04 +0000)]
Add quotes to error message

15 years agoTidy up treatment of big lambda (fixes Trac #2898)
simonpj@microsoft.com [Tue, 30 Dec 2008 14:59:48 +0000 (14:59 +0000)]
Tidy up treatment of big lambda (fixes Trac #2898)

There was a leftover big lambda in the CorePrep'd code, which confused
the bytecode generator.  Actually big lambdas are harmless.  This patch
refactors ByteCodeGen so that it systemantically used 'bcView' to eliminate
junk.  I did a little clean up in CorePrep too.

See comments in Trac #2898.

15 years agoFix warnings in ByteCodeAsm
Ian Lynagh [Mon, 29 Dec 2008 17:47:26 +0000 (17:47 +0000)]
Fix warnings in ByteCodeAsm

15 years agoFix warnings in ByteCodeInstr
Ian Lynagh [Mon, 29 Dec 2008 17:33:31 +0000 (17:33 +0000)]
Fix warnings in ByteCodeInstr

15 years agoFix warnings in Rules
Ian Lynagh [Mon, 29 Dec 2008 17:18:32 +0000 (17:18 +0000)]
Fix warnings in Rules

15 years agoFix warnings in StgCmmForeign
Ian Lynagh [Mon, 29 Dec 2008 16:59:57 +0000 (16:59 +0000)]
Fix warnings in StgCmmForeign

15 years agoFix warnings in CgCallConv
Ian Lynagh [Mon, 29 Dec 2008 16:54:02 +0000 (16:54 +0000)]
Fix warnings in CgCallConv

15 years agoFix warnings in SMRep
Ian Lynagh [Mon, 29 Dec 2008 16:49:59 +0000 (16:49 +0000)]
Fix warnings in SMRep

15 years agoFix warnings in ClosureInfo
Ian Lynagh [Mon, 29 Dec 2008 16:46:18 +0000 (16:46 +0000)]
Fix warnings in ClosureInfo

15 years agoFix warnings in CgTicky
Ian Lynagh [Mon, 29 Dec 2008 15:34:16 +0000 (15:34 +0000)]
Fix warnings in CgTicky

15 years agoFix warnings in CgCon
Ian Lynagh [Mon, 29 Dec 2008 15:17:33 +0000 (15:17 +0000)]
Fix warnings in CgCon

15 years agoFix warnings in WorkWrap
Ian Lynagh [Mon, 29 Dec 2008 15:04:06 +0000 (15:04 +0000)]
Fix warnings in WorkWrap

15 years agoFix warnings in NCGMonad
Ian Lynagh [Mon, 29 Dec 2008 14:56:27 +0000 (14:56 +0000)]
Fix warnings in NCGMonad

15 years agoFix warnings in CmmInfo
Ian Lynagh [Mon, 29 Dec 2008 14:53:07 +0000 (14:53 +0000)]
Fix warnings in CmmInfo

15 years agoFix warnings in CmmCPSGen
Ian Lynagh [Mon, 29 Dec 2008 14:51:19 +0000 (14:51 +0000)]
Fix warnings in CmmCPSGen

15 years agoFix warnings in CmmProcPoint
Ian Lynagh [Mon, 29 Dec 2008 14:42:14 +0000 (14:42 +0000)]
Fix warnings in CmmProcPoint

15 years agoFix warnings in CmmCallConv
Ian Lynagh [Mon, 29 Dec 2008 14:19:24 +0000 (14:19 +0000)]
Fix warnings in CmmCallConv

15 years agoFix warnings in CmmLive
Ian Lynagh [Mon, 29 Dec 2008 14:10:35 +0000 (14:10 +0000)]
Fix warnings in CmmLive

15 years agoFix warnings in CmmCPS
Ian Lynagh [Mon, 29 Dec 2008 13:31:58 +0000 (13:31 +0000)]
Fix warnings in CmmCPS

15 years agoFix warnings in CmmUtils
Ian Lynagh [Mon, 29 Dec 2008 13:26:37 +0000 (13:26 +0000)]
Fix warnings in CmmUtils

15 years agoComment out dead function breakProc
Ian Lynagh [Mon, 29 Dec 2008 11:56:47 +0000 (11:56 +0000)]
Comment out dead function breakProc

15 years agoFix warnings in CmmBrokenBlock
Ian Lynagh [Mon, 29 Dec 2008 11:55:27 +0000 (11:55 +0000)]
Fix warnings in CmmBrokenBlock

15 years agoComments only. Haddockify parts of TcRnTypes.
Thomas Schilling [Thu, 11 Dec 2008 15:46:57 +0000 (15:46 +0000)]
Comments only.  Haddockify parts of TcRnTypes.

15 years agoComments only. Fix typo.
Thomas Schilling [Thu, 11 Dec 2008 15:31:04 +0000 (15:31 +0000)]
Comments only.  Fix typo.

15 years agoInclude PprTyThings in tags file.
Thomas Schilling [Thu, 11 Dec 2008 15:30:05 +0000 (15:30 +0000)]
Include PprTyThings in tags file.

15 years agoUse DynFlags to work out if we are doing ticky ticky profiling
Ian Lynagh [Thu, 18 Dec 2008 16:19:28 +0000 (16:19 +0000)]
Use DynFlags to work out if we are doing ticky ticky profiling
We used to use StaticFlags

15 years agoFix warnings in CgExpr
Ian Lynagh [Wed, 17 Dec 2008 20:11:52 +0000 (20:11 +0000)]
Fix warnings in CgExpr

15 years agoFix warnings in CgBindery
Ian Lynagh [Wed, 17 Dec 2008 19:46:07 +0000 (19:46 +0000)]
Fix warnings in CgBindery

15 years agoFix warnings in CgStackery
Ian Lynagh [Wed, 17 Dec 2008 19:17:13 +0000 (19:17 +0000)]
Fix warnings in CgStackery

15 years agoFix warnings in CgCase
Ian Lynagh [Wed, 17 Dec 2008 19:08:48 +0000 (19:08 +0000)]
Fix warnings in CgCase

15 years agoRemove some dead code from CgCase
Ian Lynagh [Wed, 17 Dec 2008 18:47:55 +0000 (18:47 +0000)]
Remove some dead code from CgCase

15 years agoFix warnings in StgCmmProf
Ian Lynagh [Wed, 17 Dec 2008 18:22:36 +0000 (18:22 +0000)]
Fix warnings in StgCmmProf

15 years agoFix warnings in CgProf
Ian Lynagh [Wed, 17 Dec 2008 18:17:11 +0000 (18:17 +0000)]
Fix warnings in CgProf

15 years agoFix warnings in CgInfoTbls
Ian Lynagh [Wed, 17 Dec 2008 18:01:44 +0000 (18:01 +0000)]
Fix warnings in CgInfoTbls

15 years agoRemove dead function srtLabelAndLength from CgInfoTbls
Ian Lynagh [Wed, 17 Dec 2008 18:00:44 +0000 (18:00 +0000)]
Remove dead function srtLabelAndLength from CgInfoTbls

15 years agoFix warnings in CgHeapery
Ian Lynagh [Wed, 17 Dec 2008 17:57:26 +0000 (17:57 +0000)]
Fix warnings in CgHeapery

15 years agoFix warnings in CgTailCall
Ian Lynagh [Wed, 17 Dec 2008 17:50:40 +0000 (17:50 +0000)]
Fix warnings in CgTailCall

15 years agoRemove a little dead code from CgTailCall
Ian Lynagh [Wed, 17 Dec 2008 17:49:47 +0000 (17:49 +0000)]
Remove a little dead code from CgTailCall