- 10 Sep, 2013 10 commits
-
-
nfrisby authored
'tcRnModuleTcRnM' builds the TcRnM monad computation that is the bulk of 'tcRnModule' This commit makes it simpler for courageous Core plugins to invoke the typechecker. In particular, they no longer need to copy-and-paste what is now the body of 'tcRnModuleTcRnM'. The key change is that the 'tcRnModuleTcRnM' computation can be run with (a hypothetical) 'initTcFromCoreM' instead of 'initTc'.
-
Simon Peyton Jones authored
This patch makes a number of related improvements: * Displays relevant bindings in innermost-first order. The inner ones are closer to the error. * Does not display syntactically top-level bindings, unless you say -fno-max-relevant-bindings. This is what Trac #8233 was mainly about * Makes the TopLevelFlag in a TcIdBinder really mean "syntactically top level". It was a bit vague before. There was some associated simplification, because we no longer need to pas a TopLevelFlag to tcMonoBinds and friends.
-
Simon Peyton Jones authored
See Note [Quantification with errors] Fixes Trac #8262
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Jan Stolarek authored
-
Austin Seipp authored
This is what I get for being so hasty for release notes. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
7.6 deprecated the Control.Concurrent.QSem module (to be removed later,) but according to Patrick it was actually un-deprecated. As a result, validate fails if your bootstrap compiler is 7.6, since it throws a DEPRECATED warning. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
- 09 Sep, 2013 6 commits
-
-
parcs authored
-
eir@cis.upenn.edu authored
-
eir@cis.upenn.edu authored
-
thoughtpolice authored
In 9e133b, the build was modified to pass -fcmm-sink to Parser, but unfortunately Parser specifies -O0 in its OPTIONS_GHC directive, meaning the sinking pass was actually turned off. HC_OPTS is the last thing passed to the compiler for that source file however, so the correct fix is to also move -O0 out into the build system as well. This was uncovered thanks to a build report from Kazu Yamamoto. Thanks to Jan Stolarek for eyeballing this bug and finding it. Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
jpm@cs.ox.ac.uk authored
-
parcs authored
-
- 08 Sep, 2013 6 commits
-
-
thoughtpolice authored
This reverts commit c798a8c6.
-
thoughtpolice authored
This reverts commit d85044f6.
-
thoughtpolice authored
Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
aljee@hyper.cx authored
This reverts commit 6770663f. If the program enters the garbage collector with the closure lock held, it will confuse the garbage collector and will result in an infinite loop in evacuate(). Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
thoughtpolice authored
When servicing a stack overflows, only throw an exception to the given thread if the user explicitly set a max stack size, using +RTS -K. Otherwise just service it normally and grow the stack. In case we actually run out of *heap* (stack chuncks are allocated on the heap), then we need to bail by calling the stackOverflow() hook and exit immediately. Authored-by:
Ben Gamari <bgamari.foss@gmail.com> Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
nfrisby authored
also added -fdmd-tx-dict-sel, on by default
-
- 07 Sep, 2013 2 commits
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@mit.edu>
-
Niklas Hambüchen authored
It was sorted by version number so far. I also added a sort to the normal output (without --simple-output) since the source it comes from does not guarantee sortedness. Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
- 06 Sep, 2013 6 commits
-
-
thoughtpolice authored
This patch encompasses most of the basic infrastructure for GHCJS. It includes: * A new extension, -XJavaScriptFFI * A new architecture, ArchJavaScript * Parser and lexer support for 'foreign import javascript', only available under -XJavaScriptFFI, using ArchJavaScript. * As a knock-on, there is also a new 'WayCustom' constructor in DynFlags, so clients of the GHC API can add custom 'tags' to their built files. This should be useful for other users as well. The remaining changes are really just the resulting fallout, making sure all the cases are handled appropriately for DynFlags and Platform. Authored-by:
Luite Stegeman <stegeman@gmail.com> Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
parcs authored
-
parcs authored
-
Joachim Breitner authored
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@mit.edu>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@mit.edu>
-
- 05 Sep, 2013 2 commits
-
-
rrnewton authored
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@mit.edu>
-
- 04 Sep, 2013 8 commits
-
-
thoughtpolice authored
Authored-by:
Luke Iannini <lukexi@me.com> Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
Herbert Valerio Riedel authored
-
Herbert Valerio Riedel authored
-
nfrisby authored
-
parcs authored
We can no longer use atomic_inc() in the stage1 compiler because its prototype was recently changed. Since the stage1 compiler is always single-threaded, only use atomic_inc() when THREADED_RTS is defined.
-
parcs authored
-
thoughtpolice authored
Under --slow, the DPH tests can take incredible amounts of time to run. And on some platforms, we may not have a fully working linker in order to build DPH etc anyway. So this provides a way to turn it off. This flag is off by default, but should your specify it, you can skip the required 'dph' libraries in a build, should you remove them from the source tree. Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
thoughtpolice authored
Parser.hs needs to be compiled with -fcmm-sink on x86 platforms, so the register allocator doesn't run out of stack slots. Previously, we had to do some CPP hacks in order to emit an #ifdef into the file - this is because we preprocess it once up front, and run the preprocessor again when we compile it. There's two cases: the boostrap compiler is > 7.8, and the stage1 parser needs the flag, or the stage1 compiler is compiling the stage2 Parser.hs, and needs the flag.. The previous approach was super fragile with Clang. The more principled fix is to instead do this through the build system. This fixes #8182. Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-