[commit: ghc] wip/T13255-spj: Improve Core Lint, mainly for join points (49eed68)
git at git.haskell.org
git at git.haskell.org
Fri Feb 17 15:08:59 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T13255-spj
Link : http://ghc.haskell.org/trac/ghc/changeset/49eed68295ad547fbd4d9b3c3e9ed25fde8f00d6/ghc
>---------------------------------------------------------------
commit 49eed68295ad547fbd4d9b3c3e9ed25fde8f00d6
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
>---------------------------------------------------------------
49eed68295ad547fbd4d9b3c3e9ed25fde8f00d6
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 49eed68295ad547fbd4d9b3c3e9ed25fde8f00d6
More information about the ghc-commits
mailing list