[commit: ghc] master: Split mkInlineUnfolding into two functions (d360ec3)
git at git.haskell.org
git at git.haskell.org
Tue Jan 17 21:37:52 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/d360ec39bc9c1ba354c2254d4c4de505e3e10183/ghc
>---------------------------------------------------------------
commit d360ec39bc9c1ba354c2254d4c4de505e3e10183
Author: David Feuer <david.feuer at gmail.com>
Date: Tue Jan 17 15:55:39 2017 -0500
Split mkInlineUnfolding into two functions
Previously, `mkInlineUnfolding` took a `Maybe` argument indicating
whether the caller requested a specific arity. This was not
self-documenting at call sites. Now we distinguish between
`mkInlineUnfolding` and `mkInlineUnfoldingWithArity`.
Reviewers: simonpj, austin, bgamari
Reviewed By: simonpj, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2933
>---------------------------------------------------------------
d360ec39bc9c1ba354c2254d4c4de505e3e10183
compiler/basicTypes/MkId.hs | 7 +++---
compiler/coreSyn/CoreUnfold.hs | 35 ++++++++++++++++++--------
compiler/deSugar/DsBinds.hs | 4 +--
compiler/deSugar/DsForeign.hs | 3 ++-
compiler/simplCore/Simplify.hs | 2 +-
compiler/typecheck/TcInstDcls.hs | 4 +--
compiler/vectorise/Vectorise.hs | 4 +--
compiler/vectorise/Vectorise/Generic/PADict.hs | 3 ++-
compiler/vectorise/Vectorise/Type/Env.hs | 2 +-
compiler/vectorise/Vectorise/Utils/Hoisting.hs | 2 +-
10 files changed, 42 insertions(+), 24 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 d360ec39bc9c1ba354c2254d4c4de505e3e10183
More information about the ghc-commits
mailing list