- Oct 18, 2013
-
-
Jan Stolarek authored
Fixes #8456. Previous version of control flow optimisations did not update the list of block predecessors, leading to unnecessary duplication of blocks in some cases. See Trac and comments in the code for more details.
-
Jan Stolarek authored
-
Simon Peyton Jones authored
The only substantive change here is to change "==" into ">=" in the Note [Always false stack check] code. This is semantically correct, but won't have any practical impact.
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
This patches fixes two separate instances of the bug, * one in tc_ax_branches (Trac #8449) * one in type/kind applications in IfaceExpr (hence the new tcIfaceApps) The latter was reported by Iavor, no ticket
-
Simon Peyton Jones authored
-
Simon Peyton Jones authored
-
- Oct 17, 2013
-
-
Jan Stolarek authored
Fix a bug introduced in 94125c97. See Note [Always false stack check]
-
Geoffrey Mainland authored
-
Geoffrey Mainland authored
-
Geoffrey Mainland authored
-
Geoffrey Mainland authored
-
Geoffrey Mainland authored
-
Joachim Breitner authored
This fixes #8452.
-
- Oct 16, 2013
-
-
Jan Stolarek authored
Compiled HscMain.o is now smaller.
-
Jan Stolarek authored
-
Jan Stolarek authored
I am removing old loopification code that has been commented out for long long time. We now have loopification implemented in the code generator (see Note [Self-recursive tail calls]) so we won't need to resurect this old code.
-
Jan Stolarek authored
-
Jan Stolarek authored
When compiling a function we can determine how much stack space it will use. We therefore need to perform only a single stack check at the beginning of a function to see if we have enough stack space. Instead of referring directly to Sp - as we used to do in the past - the code generator uses (old + 0) in the stack check. Stack layout phase turns (old + 0) into Sp. The idea here is that, while we need to perform only one stack check for each function, we could in theory place more stack checks later in the function. They would be redundant, but not incorrect (in a sense that they should not change program behaviour). We need to make sure however that a stack check inserted after incrementing the stack pointer checks for a respectively smaller stack space. This would not be the case if the code generator produced direct references to Sp. By referencing (old + 0) we make sure that we always check for a correct amount of stack: when converting (old + 0) to Sp the stack layout phase takes into account changes already made to stack pointer. The idea for this change came from observations made while debugging #8275.
-
Iavor S. Diatchki authored
-
Herbert Valerio Riedel authored
-
- Oct 15, 2013
-
-
-
Version of Happy required is now 1.19.
-
We no longer check capitalization (or colons) in names that come from TH, according to the commentary in #7667.
-
Krzysztof Gogolewski authored
Remove remains of old role syntax
-
Iavor S. Diatchki authored
For details see the comment on `interactTopSub`.
-
- Oct 12, 2013
-
-
Herbert Valerio Riedel authored
This is actually a no-op wrt the source-code and is only performed to show that upstream is identical to our lagged repository. Signed-off-by:
Herbert Valerio Riedel <hvr@gnu.org>
-
Krzysztof Gogolewski authored
This commit moves the check from parser to renamer.
-
Krzysztof Gogolewski authored
-
Austin Seipp authored
Spotted by Bertram Felgenhauer. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Darin Morrison authored
Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Darin Morrison authored
Mac OS X 10.9 mkdir is apparently stricter than the Mac OS X 10.8 mkdir about which paths are considered valid arguments. For example, in a typical build on Mac OS X 10.9, the first of the following invocations of mkdirhier.sh will succeed but the second will fail: "inplace/bin/mkdirhier" utils/ghc-cabal/dist/build/tmp//. # WORKS "inplace/bin/mkdirhier" bootstrapping/. # FAILS Simply prefixing the path arguments with "./" causes both to succeed: "inplace/bin/mkdirhier" ./utils/ghc-cabal/dist/build/tmp//. # WORKS "inplace/bin/mkdirhier" ./bootstrapping/. # WORKS Testing indicates failure on paths satisfying all of these criteria: - path is suffixed with "/." - path is only 1 level deep (e.g., "foo/."; _not_ "foo/bar/.") - path is _not_ prefixed with "./" This workaround prefixes "./" to the path argument passed to mkdir. Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
Authored-by:
Gergely Risko <gergely@risko.hu> Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Austin Seipp authored
Authored-by:
Gergely Risko <gergely@risko.hu> Signed-off-by:
Austin Seipp <austin@well-typed.com>
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@mit.edu>
-
Krzysztof Gogolewski authored
Patch by errge
-
Signed-off-by:
Erik de Castro Lopo <erikd@mega-nerd.com>
-
- Oct 11, 2013
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@mit.edu>
-