summaryrefslogtreecommitdiff
path: root/compiler/cbits
diff options
context:
space:
mode:
authorSebastian Graf <sebastian.graf@kit.edu>2021-03-19 13:04:11 +0100
committerSebastian Graf <sebastian.graf@kit.edu>2021-03-22 10:02:31 +0100
commit449bf91cff7a6c0335eceb11f1dba40696b3163f (patch)
tree567b4ef7228ec86f2769d37304ce72625a8f9682 /compiler/cbits
parente6f34b88d1969690cf47df299b36c3806abf2a20 (diff)
downloadhaskell-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/cbits')
0 files changed, 0 insertions, 0 deletions