summaryrefslogtreecommitdiff
path: root/driver/ghci
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2020-11-17 19:01:08 +0100
committerAndreas Klebinger <klebinger.andreas@gmx.at>2020-11-23 15:44:09 +0100
commitfc8a7f8f2aed3420dcbe2c5c25a525634779166f (patch)
treed361c240536b37203767cff3549cfb7512979de3 /driver/ghci
parentfc644b1a643128041cfec25db84e417851e28bab (diff)
downloadhaskell-wip/andreask/rts_inlining.tar.gz
RTS: Fix failed inlining of copy_tag.wip/andreask/rts_inlining
On windows using gcc-10 gcc failed to inline copy_tag into evacuate. To fix this we now set the always_inline attribute for the various copy* functions in Evac.c. The main motivation here is not the overhead of the function call, but rather that this allows the code to "specialize" for the size of the closure we copy which is often known at compile time. An earlier commit also tried to avoid evacuate_large inlining. But didn't quite succeed. So I also marked evacuate_large as noinline. Fixes #12416
Diffstat (limited to 'driver/ghci')
0 files changed, 0 insertions, 0 deletions