ghc.git
7 years agoBuild the dynamic way by default on Linux/amd64
Ian Lynagh [Tue, 25 Sep 2012 18:50:09 +0000 (19:50 +0100)] 
Build the dynamic way by default on Linux/amd64

This required various build system changes to get the build to go
through.

In the inplace shell wrappers, we set LD_LIBRARY_PATH to allow programs
to find their libraries. In the future, we might change the inplace tree
to be the same shape as an installed tree instead. However, this would
mean changing the way we do installation, as currently we use cabal's
installation methods to install the libraries, but that only works if
the libraries are under libraries/foo/dist-install/build/..., rather
than in inplace/lib/...

7 years agoAdd a flag to tell ghc to use $ORIGIN when linking program dynamically
Ian Lynagh [Mon, 1 Oct 2012 20:39:04 +0000 (21:39 +0100)] 
Add a flag to tell ghc to use $ORIGIN when linking program dynamically

7 years agoRefactor the shell-wrapper-creation logic
Ian Lynagh [Thu, 27 Sep 2012 18:11:09 +0000 (19:11 +0100)] 
Refactor the shell-wrapper-creation logic

7 years agoPut libexec binaries in lib/bin/ rather than just lib/
Ian Lynagh [Thu, 27 Sep 2012 13:35:05 +0000 (14:35 +0100)] 
Put libexec binaries in lib/bin/ rather than just lib/

Some binaries are installed in lib/, so if we wanted them to have a
shell wrapper then under the old scheme both the binary and the wrapper
would be installed under lib/. Now the binary is put under lib/bin/,
leaving lib/ for the wrapper.

7 years agoDo flag consistency checks at the end of flag parsing
Ian Lynagh [Sun, 30 Sep 2012 17:24:07 +0000 (18:24 +0100)] 
Do flag consistency checks at the end of flag parsing

This makes it easier to ensure that we get consistent consistency
checking, e.g. that
    -f1 -f2
will do the same checks as
    -f2 -f1

I think that some of the checks were bogus before, but hopefully
all are correct now.

7 years agoAllow -static to be used after -dynamic
Ian Lynagh [Mon, 1 Oct 2012 18:32:01 +0000 (19:32 +0100)] 
Allow -static to be used after -dynamic

It's still the case that
    -dynamic -static
will leave -fPIC enabled, but it's tricky to avoid that, and we already
have similar situations where for example
    -XRankNTypes -XNoRankNTypes
will leave ExplicitForAll enabled.

7 years agoRemove some old, commented out bits
Ian Lynagh [Mon, 1 Oct 2012 16:32:19 +0000 (17:32 +0100)] 
Remove some old, commented out bits

7 years agoChange how we handle options required by 'way's
Ian Lynagh [Sat, 29 Sep 2012 21:30:48 +0000 (22:30 +0100)] 
Change how we handle options required by 'way's

We used to add the options when the way was enabled, but this caused
problems with the static/dynamic choice, as once the 'dynamic' options
had been added it wasn't easy to remove them. We therefore didn't allow
-static on the commandline if we'd already seen -static, which kludged
around the issue.

But apart from being unsatisfactory in the first place, this is a
problem if we want to allow -dynamic being on by default, as there
wouldn't be any way to turn it off.

So now we add C/CPP/linker flags required by the 'way's when flags
are requested, rather than during flag parsing.

7 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Thu, 27 Sep 2012 13:06:32 +0000 (14:06 +0100)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

7 years agoDocument that we don't warn about defining deprecated class methods
Ian Lynagh [Thu, 27 Sep 2012 13:06:03 +0000 (14:06 +0100)] 
Document that we don't warn about defining deprecated class methods

7 years agoTweak the build system handling of shell wrappers
Ian Lynagh [Thu, 27 Sep 2012 00:57:19 +0000 (01:57 +0100)] 
Tweak the build system handling of shell wrappers

Rather than having a separate
    foo_INSTALL_SHELL_WRAPPER
variable, we just use
    foo_INSTALL && foo_SHELL_WRAPPER

7 years agoRemove a stray " in the build system
Ian Lynagh [Thu, 27 Sep 2012 00:50:53 +0000 (01:50 +0100)] 
Remove a stray " in the build system

7 years agoRemove an unused bit from the Lexer bitmap
Ian Lynagh [Wed, 26 Sep 2012 23:55:27 +0000 (00:55 +0100)] 
Remove an unused bit from the Lexer bitmap

7 years agoPartially fix #367 by adding HpLim checks to entry with -fno-omit-yields.
Edward Z. Yang [Mon, 17 Sep 2012 16:28:49 +0000 (18:28 +0200)] 
Partially fix #367 by adding HpLim checks to entry with -fno-omit-yields.

The current fix is relatively dumb as far as where to add HpLim
checks: it will always perform a check unless we know that we're
returning from a closure or we are doing a non let-no-escape case
analysis.  The performance impact on the nofib suite looks like this:

            Min          +5.7%     -0.0%     -6.5%     -6.4%    -50.0%
            Max          +6.3%     +5.8%     +5.0%     +5.5%     +0.8%
 Geometric Mean          +6.2%     +0.1%     +0.5%     +0.5%     -0.8%

Overall, the executable bloat is the biggest problem, so we keep the old
omit-yields optimization on by default. Remember that if you need an
interruptibility guarantee, you need to recompile all of your libraries
with -fno-omit-yields.

A better fix would involve only inserting the yields necessary to break
loops; this is left as future work.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
7 years agoBuild old-time with stage2
Ian Lynagh [Wed, 26 Sep 2012 16:54:57 +0000 (17:54 +0100)] 
Build old-time with stage2

It's no longer needed in order to build the compiler itself.

7 years agofix stage2 compilation
Simon Marlow [Wed, 26 Sep 2012 08:05:48 +0000 (09:05 +0100)] 
fix stage2 compilation

7 years agoRemove some old-codegen cruft
Simon Marlow [Tue, 25 Sep 2012 15:03:36 +0000 (16:03 +0100)] 
Remove some old-codegen cruft

7 years agoWhen -split-objs is on, make one SRT per split, not one per module
Simon Marlow [Tue, 25 Sep 2012 15:02:45 +0000 (16:02 +0100)] 
When -split-objs is on, make one SRT per split, not one per module

This is a hopefully temporary measure until the new SRT design is
implemeented.

7 years agofix panic message typo
Simon Marlow [Tue, 25 Sep 2012 08:56:16 +0000 (09:56 +0100)] 
fix panic message typo

7 years agoMisc tidyup
Simon Marlow [Mon, 24 Sep 2012 10:12:35 +0000 (11:12 +0100)] 
Misc tidyup

7 years agowhitespace and panic message fixup
Simon Marlow [Mon, 24 Sep 2012 09:58:50 +0000 (10:58 +0100)] 
whitespace and panic message fixup

7 years agowhitespace only
Simon Marlow [Fri, 21 Sep 2012 10:04:05 +0000 (11:04 +0100)] 
whitespace only

7 years agoGenerate better code for "if (3 <= x) then ..."
Simon Marlow [Fri, 21 Sep 2012 10:03:13 +0000 (11:03 +0100)] 
Generate better code for "if (3 <= x) then ..."

7 years agono functional changes
Simon Marlow [Fri, 21 Sep 2012 10:05:53 +0000 (11:05 +0100)] 
no functional changes

7 years agoAnother overhaul of the recent_activity / idle GC handling (#5991)
Simon Marlow [Fri, 21 Sep 2012 14:49:22 +0000 (15:49 +0100)] 
Another overhaul of the recent_activity / idle GC handling (#5991)

Improvements:

 - we now turn off the timer signal in the non-threaded RTS after
   idleGCDelay.  This should make the xmonad users on #5991 happy.

 - we now turn off the timer signal after idleGCDelay even if the
   idle GC is disabled with +RTS -I0.

 - we now do *not* turn off the timer when profiling.

 - more comments to explain the meaning of the various ACTIVITY_*
   values

7 years agoRevert "Disable the timer signal while blocked in select() (#5991)"
Simon Marlow [Fri, 21 Sep 2012 14:26:46 +0000 (15:26 +0100)] 
Revert "Disable the timer signal while blocked in select() (#5991)"

This reverts commit dd24d6bc37879c6b32a3d5ac4ee765e59e13501c.

This attempt to fix the problem was misguided: the program might be
stuck in a foreign call rather than awaitEvent(), and then the timer
signal will never get disabled.  The only way to turn off the timer
signal in this case is in the timer interrupt handler itself.

7 years agoIgnore deprecation warnings for bitSize in libs when validating
Ian Lynagh [Sun, 23 Sep 2012 20:46:23 +0000 (21:46 +0100)] 
Ignore deprecation warnings for bitSize in libs when validating

7 years agoUse finiteBitSize rather than bitSize when it is available
Ian Lynagh [Sun, 23 Sep 2012 20:45:11 +0000 (21:45 +0100)] 
Use finiteBitSize rather than bitSize when it is available

7 years agoDon't warn about defining deprecated class methods
Ian Lynagh [Sun, 23 Sep 2012 20:09:01 +0000 (21:09 +0100)] 
Don't warn about defining deprecated class methods

We only warn when the method is used, not when it is defined as part
of an instance.

7 years agoWhitespace only in rename/RnSource.lhs
Ian Lynagh [Sun, 23 Sep 2012 13:52:47 +0000 (14:52 +0100)] 
Whitespace only in rename/RnSource.lhs

7 years agoRemove a redundant cast
Ian Lynagh [Fri, 21 Sep 2012 18:39:36 +0000 (19:39 +0100)] 
Remove a redundant cast

7 years agoFix the profiling build
Ian Lynagh [Fri, 21 Sep 2012 18:38:53 +0000 (19:38 +0100)] 
Fix the profiling build

7 years agoConvert more RTS macros to functions
Ian Lynagh [Fri, 21 Sep 2012 17:36:27 +0000 (18:36 +0100)] 
Convert more RTS macros to functions

Object sizes still unchanged.

7 years agoConvert more RTS macros to functions
Ian Lynagh [Fri, 21 Sep 2012 16:56:14 +0000 (17:56 +0100)] 
Convert more RTS macros to functions

No size changes in the non-debug object files

7 years agoFix off-by-one (#7227)
Simon Marlow [Tue, 11 Sep 2012 14:12:52 +0000 (16:12 +0200)] 
Fix off-by-one (#7227)

7 years agoInclude pinned memory in the stats for allocated memory
Simon Marlow [Fri, 21 Sep 2012 12:20:37 +0000 (13:20 +0100)] 
Include pinned memory in the stats for allocated memory

This broke with the changes to the pinned object handling in
67f4ab7e6b7705a9d617c6109a8c5434ede13cae.

7 years agoCache the result of countOccupied(gen->large_objects) as gen->n_large_words (#7257)
Simon Marlow [Fri, 21 Sep 2012 12:18:49 +0000 (13:18 +0100)] 
Cache the result of countOccupied(gen->large_objects) as gen->n_large_words (#7257)

The program in #7257 was spending 90% of its time counting the live
data in gen->large_objects.  We already avoid doing this for small
objects, but in this example the old generation was full of large
objects (actually pinned ByteStrings).

7 years agoAllow allocNursery() to allocate single blocks (#7257)
Simon Marlow [Fri, 21 Sep 2012 12:11:22 +0000 (13:11 +0100)] 
Allow allocNursery() to allocate single blocks (#7257)

Forcing large allocations here can creates serious fragmentation in
some cases, and since the large allocations are only a small
optimisation we should allow the nursery to hoover up small blocks
before allocating large chunks.

7 years agoFIX #7255: print tyConTyVars tc, not tc_args
Jose Pedro Magalhaes [Fri, 21 Sep 2012 09:40:24 +0000 (10:40 +0100)] 
FIX #7255: print tyConTyVars tc, not tc_args

7 years agoAdd missing dataCast1 method to the Data Bag instance
Jose Pedro Magalhaes [Fri, 21 Sep 2012 08:00:11 +0000 (09:00 +0100)] 
Add missing dataCast1 method to the Data Bag instance

7 years agoDon't put unused constants in platformConstants
Ian Lynagh [Thu, 20 Sep 2012 22:21:42 +0000 (23:21 +0100)] 
Don't put unused constants in platformConstants

This makes compiling DynFlags a lot quicker

7 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Thu, 20 Sep 2012 17:05:01 +0000 (18:05 +0100)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

7 years agoadd a missing entryCode
Simon Marlow [Thu, 20 Sep 2012 14:55:07 +0000 (15:55 +0100)] 
add a missing entryCode

7 years agosplitAtProcPoints: jump to the right place when tablesNextToCode == False
Simon Marlow [Thu, 20 Sep 2012 14:54:55 +0000 (15:54 +0100)] 
splitAtProcPoints: jump to the right place when tablesNextToCode == False

7 years agofix warnings
Simon Marlow [Thu, 20 Sep 2012 13:12:05 +0000 (14:12 +0100)] 
fix warnings

7 years agofix warning
Simon Marlow [Thu, 20 Sep 2012 13:09:42 +0000 (14:09 +0100)] 
fix warning

7 years agoTeach the linear register allocator how to allocate more stack if necessary
Simon Marlow [Thu, 20 Sep 2012 12:54:49 +0000 (13:54 +0100)] 
Teach the linear register allocator how to allocate more stack if necessary

This squashes the "out of spill slots" panic that occasionally happens
on x86, by adding instructions to bump and retreat the C stack pointer
as necessary.  The panic has become more common since the new codegen,
because we lump code into larger blocks, and the register allocator
isn't very good at reusing stack slots for spilling (see Note [extra
spill slots]).

7 years agorefactor flattenCmmAGraph
Simon Marlow [Thu, 9 Aug 2012 10:24:05 +0000 (11:24 +0100)] 
refactor flattenCmmAGraph

7 years agonon-tablesNextToCode fix for returns in the new codegen
Simon Marlow [Thu, 20 Sep 2012 12:32:12 +0000 (13:32 +0100)] 
non-tablesNextToCode fix for returns in the new codegen

7 years agoRemove redundant pragmas from RegAlloc.Liveness
Ian Lynagh [Thu, 20 Sep 2012 12:43:33 +0000 (13:43 +0100)] 
Remove redundant pragmas from RegAlloc.Liveness

7 years agoMake addSRM to strict additions
Ian Lynagh [Thu, 20 Sep 2012 12:42:03 +0000 (13:42 +0100)] 
Make addSRM to strict additions

I assume that this is what is intended, as it is used with foldl'

7 years agoFix warnings in RegAlloc.Graph.Stats
Ian Lynagh [Thu, 20 Sep 2012 12:40:27 +0000 (13:40 +0100)] 
Fix warnings in RegAlloc.Graph.Stats

7 years agoWhitespace only in nativeGen/RegAlloc/Graph/Stats.hs
Ian Lynagh [Thu, 20 Sep 2012 12:09:43 +0000 (13:09 +0100)] 
Whitespace only in nativeGen/RegAlloc/Graph/Stats.hs

7 years agoWe don't actually need a Show instance for the PlatformConstants type
Ian Lynagh [Thu, 20 Sep 2012 10:34:38 +0000 (11:34 +0100)] 
We don't actually need a Show instance for the PlatformConstants type

and creating one is quite slow

7 years agoChange some "else return ()"s to use when/unless
Ian Lynagh [Wed, 19 Sep 2012 23:43:34 +0000 (00:43 +0100)] 
Change some "else return ()"s to use when/unless

7 years agoRemove a couple of unneccesary Platform arguments
Ian Lynagh [Wed, 19 Sep 2012 23:30:33 +0000 (00:30 +0100)] 
Remove a couple of unneccesary Platform arguments

7 years agoFix litFitsInChar
Ian Lynagh [Wed, 19 Sep 2012 22:23:48 +0000 (23:23 +0100)] 
Fix litFitsInChar

It was always False before

7 years agoMake some uses of minBound/maxBound use the target Int/Word sizes
Ian Lynagh [Wed, 19 Sep 2012 21:37:01 +0000 (22:37 +0100)] 
Make some uses of minBound/maxBound use the target Int/Word sizes

7 years agoAdd the necessary REP_* constants to platformConstants
Ian Lynagh [Wed, 19 Sep 2012 21:24:25 +0000 (22:24 +0100)] 
Add the necessary REP_* constants to platformConstants

7 years agoMake the StgWord/StgHalfWord types more similar
Ian Lynagh [Wed, 19 Sep 2012 13:49:27 +0000 (14:49 +0100)] 
Make the StgWord/StgHalfWord types more similar

Also added a couple of comments.

7 years agoRemove redundant #includes
Ian Lynagh [Tue, 18 Sep 2012 23:45:41 +0000 (00:45 +0100)] 
Remove redundant #includes

7 years agoAdd some LDV_* constants to platformConstants
Ian Lynagh [Tue, 18 Sep 2012 23:15:15 +0000 (00:15 +0100)] 
Add some LDV_* constants to platformConstants

7 years agoRemove a little more CPP
Ian Lynagh [Tue, 18 Sep 2012 22:35:34 +0000 (23:35 +0100)] 
Remove a little more CPP

7 years agoMake StgWord a portable type too
Ian Lynagh [Tue, 18 Sep 2012 22:22:20 +0000 (23:22 +0100)] 
Make StgWord a portable type too

StgWord is a newtyped Word64, as it needed to be something that
has a UArray instance.

7 years agoMake StgHalfWord a portable type
Ian Lynagh [Tue, 18 Sep 2012 19:44:20 +0000 (20:44 +0100)] 
Make StgHalfWord a portable type

It's now a newtyped Integer. Perhaps a newtyped Word32 would make more
sense, though.

7 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Tue, 18 Sep 2012 18:05:24 +0000 (19:05 +0100)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

7 years agoRemove some uses of the WORDS_BIGENDIAN CPP symbol
Ian Lynagh [Tue, 18 Sep 2012 16:43:15 +0000 (17:43 +0100)] 
Remove some uses of the WORDS_BIGENDIAN CPP symbol

7 years agoGive packHalfWordsCLit a more specific type
Ian Lynagh [Tue, 18 Sep 2012 14:32:36 +0000 (15:32 +0100)] 
Give packHalfWordsCLit a more specific type

I'm not sure if there's a reason why the HeapRep constructor takes
2 WordOffs rather than 2 StgHalfWords.

7 years agomake some debug output conditional on -ddump-cmmz
Simon Marlow [Tue, 18 Sep 2012 13:49:34 +0000 (14:49 +0100)] 
make some debug output conditional on -ddump-cmmz

7 years agoDeclare SRT labels correctly in the via-C backend
Simon Marlow [Tue, 18 Sep 2012 13:49:16 +0000 (14:49 +0100)] 
Declare SRT labels correctly in the via-C backend

7 years agoSmall parallel GC improvement
Simon Marlow [Fri, 7 Sep 2012 16:01:24 +0000 (17:01 +0100)] 
Small parallel GC improvement

Overlap the main thread's clearNursery() with the other threads.

7 years agoMerge branch 'master' of darcs.haskell.org:/srv/darcs//ghc
Ian Lynagh [Mon, 17 Sep 2012 20:38:36 +0000 (21:38 +0100)] 
Merge branch 'master' of darcs.haskell.org:/srv/darcs//ghc

7 years agoRemove some CPP
Ian Lynagh [Mon, 17 Sep 2012 19:21:06 +0000 (20:21 +0100)] 
Remove some CPP

7 years agoMerge the remainder of HaskellConstants into Constants
Ian Lynagh [Mon, 17 Sep 2012 17:50:46 +0000 (18:50 +0100)] 
Merge the remainder of HaskellConstants into Constants

7 years agoRemove unused import
Ian Lynagh [Mon, 17 Sep 2012 17:51:50 +0000 (18:51 +0100)] 
Remove unused import

7 years agoMake the call to chooseBoxingStrategy lazy again
Simon Peyton Jones [Mon, 17 Sep 2012 17:22:10 +0000 (18:22 +0100)] 
Make the call to chooseBoxingStrategy lazy again

I made it strict, as an incidental consequence of this patch:

  commit 5bae803a18b17bdb158a7780e6b6ac3c520e5b39
  Author: Simon Peyton Jones <simonpj@microsoft.com>
  Date:   Sat Sep 15 23:09:25 2012 +0100
      Fix UNPACK with -fomit-interface-pragmas.

But it's very important that chooseBoxingStrategy is lazy, else
(in bigger programs with lots of recursion in types) GHC can
loop. This showed up in Data.Sequence; and I think it was making
haddock loop as well.

Anyway this patch makes it lazy again.

7 years agoRemove the Target* types from HaskellConstants
Ian Lynagh [Mon, 17 Sep 2012 17:06:54 +0000 (18:06 +0100)] 
Remove the Target* types from HaskellConstants

7 years agoMove tARGET_* out of HaskellConstants
Ian Lynagh [Mon, 17 Sep 2012 12:15:42 +0000 (13:15 +0100)] 
Move tARGET_* out of HaskellConstants

7 years agotypo
Gabor Greif [Mon, 17 Sep 2012 14:10:47 +0000 (16:10 +0200)] 
typo

7 years agoPass DynFlags to the ru_try functions of built-in rules
Ian Lynagh [Mon, 17 Sep 2012 09:38:53 +0000 (10:38 +0100)] 
Pass DynFlags to the ru_try functions of built-in rules

7 years agoMerge branch 'master' of http://darcs.haskell.org/ghc
Simon Peyton Jones [Mon, 17 Sep 2012 07:09:36 +0000 (08:09 +0100)] 
Merge branch 'master' of darcs.haskell.org/ghc

7 years agoMove tAG_BITS into platformConstants
Ian Lynagh [Sun, 16 Sep 2012 19:55:26 +0000 (20:55 +0100)] 
Move tAG_BITS into platformConstants

7 years agoMove more constants to platformConstants
Ian Lynagh [Sun, 16 Sep 2012 18:42:07 +0000 (19:42 +0100)] 
Move more constants to platformConstants

7 years agoMove wORD_SIZE into platformConstants
Ian Lynagh [Sun, 16 Sep 2012 16:45:03 +0000 (17:45 +0100)] 
Move wORD_SIZE into platformConstants

7 years agoPass DynFlags down to llvmWord
Ian Lynagh [Sun, 16 Sep 2012 13:03:58 +0000 (14:03 +0100)] 
Pass DynFlags down to llvmWord

7 years agoWindows build fix
Ian Lynagh [Sun, 16 Sep 2012 12:40:22 +0000 (13:40 +0100)] 
Windows build fix

7 years agoPrint literal integers in External Core.
Simon Peyton Jones [Sat, 15 Sep 2012 22:12:23 +0000 (23:12 +0100)] 
Print literal integers in External Core.

7 years agoFix UNPACK with -fomit-interface-pragmas.
Simon Peyton Jones [Sat, 15 Sep 2012 22:09:25 +0000 (23:09 +0100)] 
Fix UNPACK with -fomit-interface-pragmas.

We were missing a case, so that you could expose a constructor
with UNPACKed fields, but the field tpye was trimmed, and hence
can't be expanded.

Fixes Trac #5252 (revived)

7 years agoComments and laout only
Simon Peyton Jones [Sat, 15 Sep 2012 22:06:52 +0000 (23:06 +0100)] 
Comments and laout only

7 years agoFix Trac #7237; mixup with empty tuples
Simon Peyton Jones [Sat, 15 Sep 2012 22:06:20 +0000 (23:06 +0100)] 
Fix Trac #7237; mixup with empty tuples

When converting from Core to STG, we swith pattern matching on
on a *nullary* unboxed tuple into matching using a PrimAlt on RealWorld#
   case e (RealWorld#) of { DEFAULT -> ... }
This semms messy to me, but it works.  There was a bug in that we were
changing to PrimAlt, but not using a DEFAULT AltCon.

7 years agoMerge remote branch 'origin/master'
Simon Peyton Jones [Sat, 15 Sep 2012 07:09:56 +0000 (08:09 +0100)] 
Merge remote branch 'origin/master'

7 years agoBind "given" evidence to a variable, always
Simon Peyton Jones [Fri, 14 Sep 2012 23:12:16 +0000 (00:12 +0100)] 
Bind "given" evidence to a variable, always

This was being done in xCtFlavor, but not in rewriteCtFlavor,
resulting in Trac #7238.

See Note [Bind new Givens immediately] in TcSMonad and
and Note [Coercion evidence terms] in TcEvidence.

7 years agoMove wORD_SIZE_IN_BITS to DynFlags
Ian Lynagh [Fri, 14 Sep 2012 20:52:52 +0000 (21:52 +0100)] 
Move wORD_SIZE_IN_BITS to DynFlags

This frees wORD_SIZE up to be moved out of HaskellConstants

7 years agoMove some more constants into platformConstants
Ian Lynagh [Fri, 14 Sep 2012 20:25:46 +0000 (21:25 +0100)] 
Move some more constants into platformConstants

7 years agoRemove more Platform arguments
Ian Lynagh [Fri, 14 Sep 2012 19:20:47 +0000 (20:20 +0100)] 
Remove more Platform arguments

7 years agoWhitespace only in nativeGen/RegAlloc/Linear/JoinToTargets.hs
Ian Lynagh [Fri, 14 Sep 2012 19:10:04 +0000 (20:10 +0100)] 
Whitespace only in nativeGen/RegAlloc/Linear/JoinToTargets.hs

7 years agoRemove more Platform arguments
Ian Lynagh [Fri, 14 Sep 2012 19:04:38 +0000 (20:04 +0100)] 
Remove more Platform arguments

7 years agoRemove a load of Platform arguments from RegM functions
Ian Lynagh [Fri, 14 Sep 2012 18:53:15 +0000 (19:53 +0100)] 
Remove a load of Platform arguments from RegM functions

7 years agoPut DynFlags into the RegM monad
Ian Lynagh [Fri, 14 Sep 2012 18:39:28 +0000 (19:39 +0100)] 
Put DynFlags into the RegM monad

Also moved the type definition into RegAlloc.Linear.State to de-orphan
the Monad instance.

7 years agoWhitespace only in nativeGen/RegAlloc/Linear/State.hs
Ian Lynagh [Fri, 14 Sep 2012 18:28:12 +0000 (19:28 +0100)] 
Whitespace only in nativeGen/RegAlloc/Linear/State.hs