summaryrefslogtreecommitdiff
path: root/utils/ghc-cabal/ghc-cabal.cabal
diff options
context:
space:
mode:
authorSimon Peyton Jones <simon.peytonjones@gmail.com>2023-01-09 15:50:12 +0000
committerSimon Peyton Jones <simon.peytonjones@gmail.com>2023-01-11 08:28:34 +0000
commit3e329cf4240822fad79cb2d1931c831e799010fd (patch)
treebf59c726109c788e9ed756b261544ab459b8fd18 /utils/ghc-cabal/ghc-cabal.cabal
parent083f701553852c4460159cd6deb2515d3373714d (diff)
downloadhaskell-wip/T22725.tar.gz
Fix void-arg-adding mechanism for worker/wrapperwip/T22725
As #22725 shows, in worker/wrapper we must add the void argument /last/, not first. See GHC.Core.Opt.WorkWrap.Utils Note [Worker/wrapper needs to add void arg last]. That led me to to study GHC.Core.Opt.SpecConstr Note [SpecConstr needs to add void args first] which suggests the opposite! And indeed I think it's the other way round for SpecConstr -- or more precisely the void arg must precede the "extra_bndrs". That led me to some refactoring of GHC.Core.Opt.SpecConstr.calcSpecInfo.
Diffstat (limited to 'utils/ghc-cabal/ghc-cabal.cabal')
0 files changed, 0 insertions, 0 deletions