Permalink
Commits on Apr 6, 2011
  1. Merge remote branch 'origin'

    * origin:
      Revert "Suppress dumpTcRn when -dno-debug-output is enabled."
    simonmar committed Apr 6, 2011
  2. Merge branch 'trac_5025' of https://github.com/thoughtpolice/ghc

    * 'trac_5025' of https://github.com/thoughtpolice/ghc:
      Teach GHC to compile objective-c files; trac #5025
    
    Conflicts:
    	compiler/main/DriverPipeline.hs
    simonmar committed Apr 6, 2011
  3. Revert "Suppress dumpTcRn when -dno-debug-output is enabled."

    This reverts commit 12929a2.
    ezyang committed Apr 6, 2011
  4. Add 'sync-all grep'

    tibbe committed Apr 6, 2011
  5. remove debugging output

    simonmar committed Apr 6, 2011
  6. Fix -split-objs: there was a bad interaction with the recent changes

    to the way stub files were handled.
    simonmar committed Apr 6, 2011
  7. doc fix: -package-name is more static than dynamic. It can't be used

    in a LANGUAGE pragma, but it is parsed by parseDynamicFlags, and it
    can be set per-session in the GHC API.  We don't have a name for this
    type of flag, but from the user's point of view "static" is probably
    less confusing.
    simonmar committed Apr 6, 2011
Commits on Apr 5, 2011
  1. CmmOpt cannot assume single assignment for hand-written or new codege…

    …n Cmm.
    
    This change may constitute a substantial performance hit, due to the new
    creation of a set for every instruction we emit.
    
    Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
    ezyang committed Apr 4, 2011
  2. Suppress dumpTcRn when -dno-debug-output is enabled.

    Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
    ezyang committed Apr 5, 2011
  3. fix warning

    simonmar committed Apr 5, 2011
  4. Merge _stub.o files into the main .o file (Fixes #3687 and #706)

    Now GHC still generates the _stub.c files, but the object file is
    automatically merged into the main .o file for a module.  This means
    that build systems (including GHC's own) no longer need to worry about
    looking for _stub.o files and including them when linking.
    
    I had to do lots of refactoring in DriverPipeline to make this work;
    now there's a monad to carry around all the information, and
    everything is a lot tidier.
    
    The _stub.c is now created as a temporary file and removed after
    compilation (unless the -keep-tmp-files flag is on).
    simonmar committed Jan 31, 2011
  5. remove ^Ms; comment updates

    simonmar committed Jan 29, 2011
  6. Give infinite fuel to required C-- transformations. Fixes #4971.

    Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
    ezyang committed Apr 5, 2011
  7. remove set-origin and set-push commands; add "remote set-url [--push]…

    …" (to match git syntax).
    simonmar committed Apr 5, 2011
  8. 'fetch' and 'new' can take branch names as arguments (defaulting to '…

    …origin')
    
    e.g.
    
       ./sync-all -r ~/git/ghc-working remote add working
       ./sync-all fetch working
    simonmar committed Apr 5, 2011
  9. Add "remote add" and "remote rm" commands

    To add and delete remote branches from all subrepos. e.g.
    
        ./sync-all -r ~/git/ghc-working remote add working
        ./sync-all remote rm working
    simonmar committed Apr 5, 2011
  10. Fix linear register allocator bug involving read/write to same regist…

    …ers.
    
    When we read a temporary value from memory, we should update its
    assignment to be both in memory and in register.  This was only
    occurring when there was a free register, but not if we needed
    to spill an existing value in a register to the stack.  I generalized
    the code for this case and applied it to the other two cases where
    this occurs (spilled value is in memory and in a register, and when
    the spilled value is only in a register.)
    
    Furthermore, I tightened the invariants on allocRegsAndSpill_spill
    with a new data type SpillLoc that captures more precisely than
    Maybe Loc the possible locations we are spilling from.
    
    Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
    ezyang committed Apr 4, 2011
Commits on Apr 4, 2011
  1. Turn on autoflush in sync-all

    darcs-all did it, so sync-all probably should too.
    igfoo committed Apr 4, 2011
  2. Ignore tags files.

    Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
    ezyang committed Apr 4, 2011
  3. Fix typos and add Outputable constraints to aid debugging.

    Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
    ezyang committed Apr 4, 2011
  4. Minor documentation improvement about pointer tagging.

    Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
    ezyang committed Apr 4, 2011
  5. Add "./sync-all set-push"

    Use like this:
    
      ./sync-all -r me@darcs.haskell.org:/home/darcs set-push
    
    to set the default repo to push to (in remotes/origin) for each of
    the sub-repos.
    simonmar committed Apr 4, 2011
  6. Teach GHC to compile objective-c files; trac #5025

    Austin Seipp committed Apr 4, 2011