[commit: ghc] master: Improve Core Lint, mainly for join points (e790126)
git at git.haskell.org
git at git.haskell.org
Tue Feb 21 14:31:33 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/e790126cd57ab39649b1fd42996733fafe20eb34/ghc
>---------------------------------------------------------------
commit e790126cd57ab39649b1fd42996733fafe20eb34
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Fri Feb 17 15:03:01 2017 +0000
Improve Core Lint, mainly for join points
* lintSingleBinding: check that join points have
a valid join-point type
(Trac #13281)
* lintIdBinder: check that a JoinId is bound by
a non-top-level let
i.e. not a top level binder
not lambda/case binder
* Check for empty Rec [] bindings
* Rename lintIdBndrs to lintLetBndrs
>---------------------------------------------------------------
e790126cd57ab39649b1fd42996733fafe20eb34
compiler/coreSyn/CoreLint.hs | 107 ++++++++++++++++++++++++++++---------------
1 file changed, 69 insertions(+), 38 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc e790126cd57ab39649b1fd42996733fafe20eb34
More information about the ghc-commits
mailing list