ghc.git
5 years agoWibbles to "...plus N others" error message about instances in scope
Simon Peyton Jones [Tue, 13 May 2014 11:42:58 +0000 (12:42 +0100)] 
Wibbles to "...plus N others" error message about instances in scope

I this this arises from my de-orphaning the Enum Word instance

5 years agoSpecialise monad functions, and make them INLINEABLE
Simon Peyton Jones [Tue, 13 May 2014 09:59:19 +0000 (10:59 +0100)] 
Specialise monad functions, and make them INLINEABLE

Specialise liftM, foldM, etc, and make them specialisable
for new monads at their call sites by using INLINEABLE

5 years agoSlightly improve fusion rules for 'take'
Simon Peyton Jones [Tue, 13 May 2014 09:55:33 +0000 (10:55 +0100)] 
Slightly improve fusion rules for 'take'

5 years agoDon't float out (classop dict e1 e2)
Simon Peyton Jones [Tue, 13 May 2014 09:00:45 +0000 (10:00 +0100)] 
Don't float out (classop dict e1 e2)

A class op applied to a dictionary doesn't do much work, so it's not
a great idea to float it out (except possibly to the top level.

See Note [Floating over-saturated applications] in SetLevels

I also renamed "floatOutPartialApplications" to "floatOutOverSatApps";
the former is deeply confusing, since there is no partial application
involved -- quite the reverse, it is *over* saturated.

5 years agoMove the Enum Word instance into GHC.Enum
Simon Peyton Jones [Mon, 12 May 2014 09:54:30 +0000 (10:54 +0100)] 
Move the Enum Word instance into GHC.Enum

This just avoids an unnecessary orphan instance.
All the other instances for "earlier" types are in GHC.Enum already.

5 years agoSpecialise Eq, Ord, Read, Show at Int, Char, String
Simon Peyton Jones [Mon, 12 May 2014 09:53:09 +0000 (10:53 +0100)] 
Specialise Eq, Ord, Read, Show at Int, Char, String

These instances are quite common, so it's good to have
pre-specialised versions available

5 years agoMake worker/wrapper work on INLINEABLE things
Simon Peyton Jones [Fri, 9 May 2014 10:15:33 +0000 (11:15 +0100)] 
Make worker/wrapper work on INLINEABLE things

This fixes a long-standing bug: Trac #6056.  The trouble was that
INLINEABLE "used up" the unfolding for the Id, so it couldn't be
worker/wrapper'd by the strictness analyser.

This patch allows the w/w to go ahead, and makes the *worker* INLINEABLE
instead, so it can later be specialised.

However, that doesn't completely solve the problem, because the dictionary
argument (which the specialiser treats specially) may be strict and
hence unpacked by w/w, so now the worker won't be specilialised after all.

Solution: never unpack dictionary arguments, which is done by the isClassTyCon
          test in WwLib.deepSplitProductType_maybe

5 years agoMake maybeUnfoldingTemplate respond to DFunUnfoldings
Simon Peyton Jones [Fri, 9 May 2014 09:59:40 +0000 (10:59 +0100)] 
Make maybeUnfoldingTemplate respond to DFunUnfoldings

CoreSyn.maybeUnfoldingTemplate is used mainly when specialising,
so make DFunUnfoldings respond to it makes it possible to specialise
them properly.

5 years agoKill unused setUnfoldingTemplate
Simon Peyton Jones [Fri, 9 May 2014 09:55:15 +0000 (10:55 +0100)] 
Kill unused setUnfoldingTemplate

5 years agoRefactor unfoldings
Simon Peyton Jones [Thu, 8 May 2014 10:21:16 +0000 (11:21 +0100)] 
Refactor unfoldings

There are two main refactorings here

1.  Move the uf_arity field
       out of CoreUnfolding
       into UnfWhen
    It's a lot tidier there.  If I've got this right, no behaviour
    should change.

2.  Define specUnfolding and use it in DsBinds and Specialise
     a) commons-up some shared code
     b) makes sure that Specialise correctly specialises DFun
        unfoldings (which it didn't before)

The two got put together because both ended up interacting in the
specialiser.

They cause zero difference to nofib.

5 years agoLess voluminous output when printing continuations
Simon Peyton Jones [Thu, 8 May 2014 10:05:39 +0000 (11:05 +0100)] 
Less voluminous output when printing continuations

5 years agoRevert "disable shared libs on sparc (linux/solaris) (fixes #8857)"
Sergei Trofimovich [Wed, 27 Aug 2014 19:20:33 +0000 (22:20 +0300)] 
Revert "disable shared libs on sparc (linux/solaris) (fixes #8857)"

This reverts commit 623883f1ed0ee11cc925c4590fb09565403fd231.

The commit a93ab43ab5f40cadbedea2f6342b93c245e91434
    driver: pass '-fPIC' option to assembler as well
fixes shared libraries on sparc at least on linux.

Properly fixes Issue #8857

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
5 years agodriver: pass '-fPIC' option to assembler as well
Sergei Trofimovich [Wed, 27 Aug 2014 19:19:52 +0000 (22:19 +0300)] 
driver: pass '-fPIC' option to assembler as well

Summary:
Before the patch '-fPIC' was passed only to C compiler,
but not to assembler itself.

It led to runtime crash in GHC_DYNAMIC_PROGRAMS=YES mode
on sparc32.

Technical details are in 'Note [-fPIC for assembler]'.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Test Plan: validate on sparc

Reviewers: simonmar, austin, kgardas

Reviewed By: austin

Subscribers: simonmar, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D177

5 years agoUNREG: fix emission of large Integer literals in C codegen
Sergei Trofimovich [Tue, 26 Aug 2014 10:07:14 +0000 (13:07 +0300)] 
UNREG: fix emission of large Integer literals in C codegen

Summary:
On amd64/UNREG build there is many failing tests trying
to deal with 'Integer' types.

Looking at 'integerConversions' test I've observed
invalid C code generated by GHC.

Cmm code
    CInt a = -1; (a == -1)
yields 'False' with optimisations enabled via the following C code:
    StgWord64 a = (StgWord32)0xFFFFffffFFFFffffu; (a == 0xFFFFffffFFFFffffu)

The patch fixes it by shrinking emitted literals to required sizes:
    StgWord64 a = (StgWord32)0xFFFFffffu; (a == 0xFFFFffffu)

Thanks to Reid Barton for tracking down and fixing the issue.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Test Plan: validate on UNREG build (amd64, x86)

Reviewers: simonmar, rwbarton, austin

Subscribers: hvr, simonmar, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D173

5 years agoImprove documentation of record wildcards
Simon Peyton Jones [Mon, 25 Aug 2014 15:18:03 +0000 (16:18 +0100)] 
Improve documentation of record wildcards

In particular mention that they aren't allowed for record updates.

Triggered by Trac #9437

5 years agoTwo buglets in record wild-cards (Trac #9436 and #9437)
Simon Peyton Jones [Mon, 25 Aug 2014 14:17:39 +0000 (15:17 +0100)] 
Two buglets in record wild-cards (Trac #9436 and #9437)

of named fields, whereas the code in RnPat.rnHsRecFields is
much better set up to do so.

Both easily fixed.

5 years agoCheck for un-saturated type family applications
Simon Peyton Jones [Mon, 25 Aug 2014 14:13:02 +0000 (15:13 +0100)] 
Check for un-saturated type family applications

This patch corrects an egregious error introduced by:

  commit 022f8750edf6f413fba31293435dcc62600eab77
  Author: Simon Peyton Jones <simonpj@microsoft.com>
  Date:   Thu May 15 16:07:04 2014 +0100

    Refactoring around TyCon.isSynTyCon

    * Document isSynTyCon better
    * Add isTypeSyonymTyCon for regular H98 type synonyms
    * Use isTypeSynonymTyCon rather than isSynTyCon where
      the former is really intended

At this particular spot in TcValidity we really do mean
isSynTyCon and not isTypeSynonymTyCon.

Fixes Trac #9433

5 years agoMake Core Lint check for un-saturated type applications
Simon Peyton Jones [Mon, 25 Aug 2014 14:10:19 +0000 (15:10 +0100)] 
Make Core Lint check for un-saturated type applications

Un-saturated type-family and type-synonym applications are
detected in the front end, but for some reason Lint wasn't
looking for them.

I came across this when wondering why Trac #9433 didn't give
a Core Lint error

5 years agoMore refactoring in SpecConstr
Simon Peyton Jones [Mon, 25 Aug 2014 12:38:55 +0000 (13:38 +0100)] 
More refactoring in SpecConstr

This patch should make no change in behaviour.

 * Make RhsInfo into a record

 * Include ri_rhs_usg, which previously travelled around separately

 * Introduce specRec, specNonRec, and
   make them return [OneSpec] rather than SpecInfo

5 years agoDo not duplicate call information in SpecConstr (Trac #8852)
Simon Peyton Jones [Mon, 25 Aug 2014 11:28:44 +0000 (12:28 +0100)] 
Do not duplicate call information in SpecConstr (Trac #8852)

This long-standing and egregious bug meant that call information was
being gratuitously copied, leading to an exponential blowup in the
number of calls to be examined when function definitions are deeply
nested.  That is what has been causing the blowup in SpecConstr's
running time, not (as I had previously supposed) generating very large code.

See Note [spec_usg includes rhs_usg]

5 years agoIntroduce the Call data types
Simon Peyton Jones [Mon, 25 Aug 2014 11:24:55 +0000 (12:24 +0100)] 
Introduce the Call data types

This is just a small refactoring that makes the code a bit clearer,
using a data type instead of a triple.  We get better pretty-printing too.

5 years agoUse DumpStyle rather than UserStyle for pprTrace output
Simon Peyton Jones [Mon, 25 Aug 2014 11:10:29 +0000 (12:10 +0100)] 
Use DumpStyle rather than UserStyle for pprTrace output

The main motivation is that user-style output assumes that everything has been
tidied, not enough uniques are printed by default.

The downside is that pprTrace output now has module prefixes which can be overwhelming,
but -dsuppress-module-prefixes will suppress them.

5 years agotestsuite: add 16-byte case for T9329
Sergei Trofimovich [Mon, 25 Aug 2014 10:00:24 +0000 (13:00 +0300)] 
testsuite: add 16-byte case for T9329

Exposes Issue #9512 on amd64

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
5 years agoDeclare official GitHub home of libraries/{directory,process}
Herbert Valerio Riedel [Mon, 25 Aug 2014 07:14:31 +0000 (09:14 +0200)] 
Declare official GitHub home of libraries/{directory,process}

Effective immediately, pushing to libraries/{directory,process} requires
pushing to ssh://git@github.com/haskell/{directory.process}.git. This has
been done now even though there's no scripted tooling yet as the GitHub repo
was already getting issues filed.

5 years agotestsuite: added 'bytes allocated' for T9339 wordsize(32)
Sergei Trofimovich [Sun, 24 Aug 2014 17:46:44 +0000 (20:46 +0300)] 
testsuite: added 'bytes allocated' for T9339 wordsize(32)

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
5 years agoAdd MO_AddIntC, MO_SubIntC MachOps and implement in X86 backend
Reid Barton [Fri, 22 Aug 2014 22:57:50 +0000 (18:57 -0400)] 
Add MO_AddIntC, MO_SubIntC MachOps and implement in X86 backend

Summary:
These MachOps are used by addIntC# and subIntC#, which in turn are
used in integer-gmp when adding or subtracting small Integers. The
following benchmark shows a ~6% speedup after this commit on x86_64
(building GHC with BuildFlavour=perf).

    {-# LANGUAGE MagicHash #-}

    import GHC.Exts
    import Criterion.Main

    count :: Int -> Integer
    count (I# n#) = go n# 0
      where go :: Int# -> Integer -> Integer
            go 0# acc = acc
            go n# acc = go (n# -# 1#) $! acc + 1

    main = defaultMain [bgroup "count"
                          [bench "100" $ whnf count 100]]

Differential Revision: https://phabricator.haskell.org/D140

5 years agorts/Linker.c: declare 'deRefStablePtr' as an exported 'rts' symbol
Sergei Trofimovich [Sat, 23 Aug 2014 10:11:23 +0000 (13:11 +0300)] 
rts/Linker.c: declare 'deRefStablePtr' as an exported 'rts' symbol

    $ inplace/bin/ghc-stage2 -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -optc-fno-builtin -fno-ghci-history \
        testsuite/tests/ffi/should_run/T4038.hs --interactive -v0 -ignore-dot-ghci +RTS -I0.1 -RTS

    *Main> main
    <interactive>: /tmp/ghc16668_0/ghc16668_5.o: unknown symbol `deRefStablePtr'

The reference to 'deRefStablePtr' is generated by 'compiler/deSugar/DsForeign.lhs':
    the_cfun
       = case maybe_target of
          Nothing    -> text "(StgClosure*)deRefStablePtr(the_stableptr)"
          Just hs_fn -> char '&' <> ppr hs_fn <> text "_closure"

Patch fixes all broken tests using 'import wrapper':
    TEST="ffi013 ffi010 ffi011 ffi005 ffi020 ffi006 ffi019 fed001 T1679 T4038"

Tests manifested as broken only in DYNAMIC_GHC_PROGRAMS=NO builds,
where GHCi's custom linker is used instead of system's linker.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
5 years agotestsuite: mark testwsdeque mark as faulty on NOSMP builds
Sergei Trofimovich [Sat, 23 Aug 2014 08:32:05 +0000 (11:32 +0300)] 
testsuite: mark testwsdeque mark as faulty on NOSMP builds

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
5 years agotestsuite: disable memcpy asm comparison tests on UNREG
Sergei Trofimovich [Sat, 23 Aug 2014 08:22:59 +0000 (11:22 +0300)] 
testsuite: disable memcpy asm comparison tests on UNREG

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
5 years agotestsuite: disable gcc's warnings about casts of incompatible prototypes in UNREG
Sergei Trofimovich [Sat, 23 Aug 2014 08:01:16 +0000 (11:01 +0300)] 
testsuite: disable gcc's warnings about casts of incompatible prototypes in UNREG

Haskell's 'foreign import' declaraion does not have a way
to extress exact C prototypes (it ignores 'const' modifiers, exact pointer
types, etc.) which leads to warnings when C backend generates calls to such
functions:

    /tmp/ghc32698_0/ghc32698_10.hc:52:5:
         warning: conflicting types for built-in function ‘strlen’ [enabled by default]
         EF_(strlen);
             ^

Patch disables builtin functions for UNREG build
to workaround test failures due to stderr mismatch.

Fixes the following test failures:
    TEST="safePkg01 T5423 T7574 T3736"

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
5 years agotestsuite: T7815 requires SMP support from ghc
Sergei Trofimovich [Fri, 22 Aug 2014 22:20:11 +0000 (01:20 +0300)] 
testsuite: T7815 requires SMP support from ghc

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
5 years agoEnable GHC API tests by default.
Edward Z. Yang [Fri, 22 Aug 2014 17:01:43 +0000 (18:01 +0100)] 
Enable GHC API tests by default.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
5 years agoNormalise GHC version number to make tests less fragile.
Edward Z. Yang [Fri, 22 Aug 2014 14:05:29 +0000 (15:05 +0100)] 
Normalise GHC version number to make tests less fragile.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
5 years agoRevert "rts/base: Fix #9423"
Austin Seipp [Fri, 22 Aug 2014 13:51:38 +0000 (08:51 -0500)] 
Revert "rts/base: Fix #9423"

This should fix the Windows fallout, and hopefully this will be fixed
once that's sorted out.

This reverts commit f9f89b7884ccc8ee5047cf4fffdf2b36df6832df.

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agoDo not zero out version number when processing wired-in packages.
Edward Z. Yang [Fri, 22 Aug 2014 00:29:28 +0000 (01:29 +0100)] 
Do not zero out version number when processing wired-in packages.

Summary:
Previously, GHC would look for instances of wired-in packages in the
in-memory package database and null out the version number.  This was
necessary when the sourcePackageId was used to determine the linker
symbols; however, we now use a package key, so only that needs to be
updated.

Long-term, we can remove this hack by ensuring that Cabal actually records
the proper package key in the database.  This will also fix an unrelated
hack elsewhere.

Keeping version numbers means that wired in packages get rendered differently
when output by GHC.  This is the source of all the test-case output changes.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Test Plan: validate

Reviewers: hvr, austin

Subscribers: simonmar, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D170

5 years agosubmodule update hpc/stm with gitignore.
Edward Z. Yang [Fri, 22 Aug 2014 13:23:56 +0000 (14:23 +0100)] 
submodule update hpc/stm with gitignore.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
5 years agogitignore: Ignore tests/rts/rdynamic
Edward Z. Yang [Fri, 22 Aug 2014 00:40:55 +0000 (01:40 +0100)] 
gitignore: Ignore tests/rts/rdynamic

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
5 years agoFix #9465.
Gabor Pali [Fri, 22 Aug 2014 07:03:09 +0000 (09:03 +0200)] 
Fix #9465.

It turned out the sed(1) expressions are not fully portable.  So revist my
earlier attempt for getting GHC_LDFLAGS in the configure script and rewrite
it in Perl instead.

5 years agoT8832: fix no newline at end of file warning
Karel Gardas [Thu, 21 Aug 2014 07:00:15 +0000 (09:00 +0200)] 
T8832: fix no newline at end of file warning

5 years agoincludes: detabify/dewhitespace rts/storage/ClosureMacros.h
Austin Seipp [Wed, 20 Aug 2014 17:50:14 +0000 (12:50 -0500)] 
includes: detabify/dewhitespace rts/storage/ClosureMacros.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace rts/storage/InfoTables.h
Austin Seipp [Wed, 20 Aug 2014 17:49:33 +0000 (12:49 -0500)] 
[ci skip] includes: detabify/dewhitespace rts/storage/InfoTables.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace rts/storage/Block.h
Austin Seipp [Wed, 20 Aug 2014 17:49:27 +0000 (12:49 -0500)] 
[ci skip] includes: detabify/dewhitespace rts/storage/Block.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace rts/storage/GC.h
Austin Seipp [Wed, 20 Aug 2014 17:47:32 +0000 (12:47 -0500)] 
[ci skip] includes: detabify/dewhitespace rts/storage/GC.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace rts/storage/Closures.h
Austin Seipp [Wed, 20 Aug 2014 17:47:21 +0000 (12:47 -0500)] 
[ci skip] includes: detabify/dewhitespace rts/storage/Closures.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace rts/storage/TSO.h
Austin Seipp [Wed, 20 Aug 2014 17:47:07 +0000 (12:47 -0500)] 
[ci skip] includes: detabify/dewhitespace rts/storage/TSO.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace rts/storage/MBlock.h
Austin Seipp [Wed, 20 Aug 2014 17:46:58 +0000 (12:46 -0500)] 
[ci skip] includes: detabify/dewhitespace rts/storage/MBlock.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace rts/prof/LDV.h
Austin Seipp [Wed, 20 Aug 2014 17:46:33 +0000 (12:46 -0500)] 
[ci skip] includes: detabify/dewhitespace rts/prof/LDV.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace rts/prof/CCS.h
Austin Seipp [Wed, 20 Aug 2014 17:46:24 +0000 (12:46 -0500)] 
[ci skip] includes: detabify/dewhitespace rts/prof/CCS.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace rts/Hpc.h
Austin Seipp [Wed, 20 Aug 2014 17:45:21 +0000 (12:45 -0500)] 
[ci skip] includes: detabify/dewhitespace rts/Hpc.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace rts/OSThreads.h
Austin Seipp [Wed, 20 Aug 2014 17:44:28 +0000 (12:44 -0500)] 
[ci skip] includes: detabify/dewhitespace rts/OSThreads.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace rts/Stable.h
Austin Seipp [Wed, 20 Aug 2014 17:44:19 +0000 (12:44 -0500)] 
[ci skip] includes: detabify/dewhitespace rts/Stable.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace rts/Threads.h
Austin Seipp [Wed, 20 Aug 2014 17:44:10 +0000 (12:44 -0500)] 
[ci skip] includes: detabify/dewhitespace rts/Threads.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace rts/Ticky.h
Austin Seipp [Wed, 20 Aug 2014 17:44:03 +0000 (12:44 -0500)] 
[ci skip] includes: detabify/dewhitespace rts/Ticky.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace stg/Types.h
Austin Seipp [Wed, 20 Aug 2014 17:43:32 +0000 (12:43 -0500)] 
[ci skip] includes: detabify/dewhitespace stg/Types.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace stg/SMP.h
Austin Seipp [Wed, 20 Aug 2014 17:43:21 +0000 (12:43 -0500)] 
[ci skip] includes: detabify/dewhitespace stg/SMP.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace stg/Regs.h
Austin Seipp [Wed, 20 Aug 2014 17:43:14 +0000 (12:43 -0500)] 
[ci skip] includes: detabify/dewhitespace stg/Regs.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace Cmm.h
Austin Seipp [Wed, 20 Aug 2014 17:42:08 +0000 (12:42 -0500)] 
[ci skip] includes: detabify/dewhitespace Cmm.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace HsFFI.h
Austin Seipp [Wed, 20 Aug 2014 17:41:46 +0000 (12:41 -0500)] 
[ci skip] includes: detabify/dewhitespace HsFFI.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace Rts.h
Austin Seipp [Wed, 20 Aug 2014 17:40:58 +0000 (12:40 -0500)] 
[ci skip] includes: detabify/dewhitespace Rts.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace RtsAPI.h
Austin Seipp [Wed, 20 Aug 2014 17:40:48 +0000 (12:40 -0500)] 
[ci skip] includes: detabify/dewhitespace RtsAPI.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years ago[ci skip] includes: detabify/dewhitespace Stg.h
Austin Seipp [Wed, 20 Aug 2014 17:40:24 +0000 (12:40 -0500)] 
[ci skip] includes: detabify/dewhitespace Stg.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agoComment why the include is necessary
Gabor Greif [Wed, 20 Aug 2014 17:39:56 +0000 (19:39 +0200)] 
Comment why the include is necessary

5 years agorts: detabify/dewhitespace LdvProfile.c
Austin Seipp [Wed, 20 Aug 2014 17:30:49 +0000 (12:30 -0500)] 
rts: detabify/dewhitespace LdvProfile.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace Disassembler.c
Austin Seipp [Wed, 20 Aug 2014 17:29:22 +0000 (12:29 -0500)] 
rts: detabify/dewhitespace Disassembler.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace RtsUtils.c
Austin Seipp [Wed, 20 Aug 2014 17:28:01 +0000 (12:28 -0500)] 
rts: detabify/dewhitespace RtsUtils.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace RtsStartup.c
Austin Seipp [Wed, 20 Aug 2014 17:27:39 +0000 (12:27 -0500)] 
rts: detabify/dewhitespace RtsStartup.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace RtsAPI.c
Austin Seipp [Wed, 20 Aug 2014 17:27:28 +0000 (12:27 -0500)] 
rts: detabify/dewhitespace RtsAPI.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace RtsMain.c
Austin Seipp [Wed, 20 Aug 2014 17:27:18 +0000 (12:27 -0500)] 
rts: detabify/dewhitespace RtsMain.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace Sparks.c
Austin Seipp [Wed, 20 Aug 2014 17:26:59 +0000 (12:26 -0500)] 
rts: detabify/dewhitespace Sparks.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace StgPrimFloat.h
Austin Seipp [Wed, 20 Aug 2014 17:26:37 +0000 (12:26 -0500)] 
rts: detabify/dewhitespace StgPrimFloat.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace StgPrimFloat.c
Austin Seipp [Wed, 20 Aug 2014 17:26:29 +0000 (12:26 -0500)] 
rts: detabify/dewhitespace StgPrimFloat.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace StgStartup.cmm
Austin Seipp [Wed, 20 Aug 2014 17:26:04 +0000 (12:26 -0500)] 
rts: detabify/dewhitespace StgStartup.cmm

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace StgStdThunks.cmm
Austin Seipp [Wed, 20 Aug 2014 17:25:52 +0000 (12:25 -0500)] 
rts: detabify/dewhitespace StgStdThunks.cmm

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace AutoApply.h
Austin Seipp [Wed, 20 Aug 2014 17:25:24 +0000 (12:25 -0500)] 
rts: detabify/dewhitespace AutoApply.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace Task.h
Austin Seipp [Wed, 20 Aug 2014 17:24:37 +0000 (12:24 -0500)] 
rts: detabify/dewhitespace Task.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace Printer.h
Austin Seipp [Wed, 20 Aug 2014 17:24:19 +0000 (12:24 -0500)] 
rts: detabify/dewhitespace Printer.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace Hpc.c
Austin Seipp [Wed, 20 Aug 2014 17:22:48 +0000 (12:22 -0500)] 
rts: detabify/dewhitespace Hpc.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace Apply.cmm
Austin Seipp [Wed, 20 Aug 2014 17:22:24 +0000 (12:22 -0500)] 
rts: detabify/dewhitespace Apply.cmm

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace sm/MBlock.c
Austin Seipp [Wed, 20 Aug 2014 17:21:10 +0000 (12:21 -0500)] 
rts: detabify/dewhitespace sm/MBlock.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace sm/GCUtils.c
Austin Seipp [Wed, 20 Aug 2014 17:21:03 +0000 (12:21 -0500)] 
rts: detabify/dewhitespace sm/GCUtils.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace sm/GCUtils.h
Austin Seipp [Wed, 20 Aug 2014 17:20:41 +0000 (12:20 -0500)] 
rts: detabify/dewhitespace sm/GCUtils.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace sm/GCAux.c
Austin Seipp [Wed, 20 Aug 2014 17:20:17 +0000 (12:20 -0500)] 
rts: detabify/dewhitespace sm/GCAux.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace sm/MarkWeak.c
Austin Seipp [Wed, 20 Aug 2014 17:19:48 +0000 (12:19 -0500)] 
rts: detabify/dewhitespace sm/MarkWeak.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace sm/BlockAlloc.c
Austin Seipp [Wed, 20 Aug 2014 17:19:20 +0000 (12:19 -0500)] 
rts: detabify/dewhitespace sm/BlockAlloc.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace sm/Storage.h
Austin Seipp [Wed, 20 Aug 2014 17:18:42 +0000 (12:18 -0500)] 
rts: detabify/dewhitespace sm/Storage.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace Task.c
Austin Seipp [Wed, 20 Aug 2014 17:17:50 +0000 (12:17 -0500)] 
rts: detabify/dewhitespace Task.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: reflow some comments in STM.c
Austin Seipp [Wed, 20 Aug 2014 17:17:25 +0000 (12:17 -0500)] 
rts: reflow some comments in STM.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace STM.c
Austin Seipp [Wed, 20 Aug 2014 17:16:40 +0000 (12:16 -0500)] 
rts: detabify/dewhitespace STM.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace Trace.c
Austin Seipp [Wed, 20 Aug 2014 17:16:09 +0000 (12:16 -0500)] 
rts: detabify/dewhitespace Trace.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace Timer.c
Austin Seipp [Wed, 20 Aug 2014 17:15:58 +0000 (12:15 -0500)] 
rts: detabify/dewhitespace Timer.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace Updates.h
Austin Seipp [Wed, 20 Aug 2014 17:15:15 +0000 (12:15 -0500)] 
rts: detabify/dewhitespace Updates.h

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace Weak.c
Austin Seipp [Wed, 20 Aug 2014 17:14:33 +0000 (12:14 -0500)] 
rts: detabify/dewhitespace Weak.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agorts: detabify/dewhitespace Ticky.c
Austin Seipp [Wed, 20 Aug 2014 17:13:45 +0000 (12:13 -0500)] 
rts: detabify/dewhitespace Ticky.c

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agoAdd a missing newline to a GHCi linker debugBelch
Reid Barton [Wed, 20 Aug 2014 16:17:16 +0000 (12:17 -0400)] 
Add a missing newline to a GHCi linker debugBelch

5 years agoUpdate a comment in base cbits
Reid Barton [Wed, 20 Aug 2014 14:42:10 +0000 (10:42 -0400)] 
Update a comment in base cbits

5 years agogenprimopcode: Don't output tabs
Austin Seipp [Wed, 20 Aug 2014 12:12:01 +0000 (07:12 -0500)] 
genprimopcode: Don't output tabs

Otherwise the build breaks, because its output is included in tab-free
files. See ef9dd9f.

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agobasicTypes: detabify/dewhitespace IdInfo
Austin Seipp [Wed, 20 Aug 2014 08:46:22 +0000 (03:46 -0500)] 
basicTypes: detabify/dewhitespace IdInfo

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agobasicTypes: detabify/dewhitespace NameEnv
Austin Seipp [Wed, 20 Aug 2014 08:45:44 +0000 (03:45 -0500)] 
basicTypes: detabify/dewhitespace NameEnv

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agobasicTypes: detabify/dewhitespace NameSet
Austin Seipp [Wed, 20 Aug 2014 08:45:15 +0000 (03:45 -0500)] 
basicTypes: detabify/dewhitespace NameSet

Signed-off-by: Austin Seipp <austin@well-typed.com>
5 years agobasicTypes: detabify/dewhitespace Var
Austin Seipp [Wed, 20 Aug 2014 08:44:52 +0000 (03:44 -0500)] 
basicTypes: detabify/dewhitespace Var

Signed-off-by: Austin Seipp <austin@well-typed.com>