diff options
author | Sebastian Graf <sebastian.graf@kit.edu> | 2021-03-19 13:04:11 +0100 |
---|---|---|
committer | Sebastian Graf <sebastian.graf@kit.edu> | 2021-03-22 10:02:31 +0100 |
commit | 449bf91cff7a6c0335eceb11f1dba40696b3163f (patch) | |
tree | 567b4ef7228ec86f2769d37304ce72625a8f9682 /compiler/GHC/Cmm/ContFlowOpt.hs | |
parent | e6f34b88d1969690cf47df299b36c3806abf2a20 (diff) | |
download | haskell-449bf91cff7a6c0335eceb11f1dba40696b3163f.tar.gz |
Refactor around `wantToUnbox`
I renamed `wantToUnbox` to `wantToUnboxArg` and then introduced
`wantToUnboxResult`, which we call in `mkWWcpr_one` now.
I also deleted `splitArgType_maybe` (the single call site outside of
`wantToUnboxArg` actually cared about the result type of a function, not
an argument) and `splitResultType_maybe` (which is entirely superceded
by `wantToUnboxResult`.
Diffstat (limited to 'compiler/GHC/Cmm/ContFlowOpt.hs')
0 files changed, 0 insertions, 0 deletions