[GHC] #8742: Reuse scavenge_small_bitmap
GHC
ghc-devs at haskell.org
Tue Apr 29 19:35:11 UTC 2014
#8742: Reuse scavenge_small_bitmap
-------------------------------------+------------------------------------
Reporter: Tarrasch | Owner: Tarrasch
Type: task | Status: patch
Priority: lowest | Milestone: 7.10.1
Component: Runtime System | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by Simon Marlow <marlowsd@…>):
In [changeset:"05fcc3331622995015ccba17ae333b9a0fc9bb77/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="05fcc3331622995015ccba17ae333b9a0fc9bb77"
Rts: Reuse scavenge_small_bitmap (#8742)
The function was inlined at two places already. And the function is
having the STATIC_INLINE annotation, so the assembly output should.
be the same.
To convince myself, I did diff the output of the object files before
and after the patch and they matched on my 64-bit Ubuntu 13.10 machine,
running gcc 4.8.1-10ubuntu9.
Also, I had to move scavenge_small_bitmap up a bit since it's not in any
.h-file.
While I was at it, I also applied the analogous patch for Compact.c.
Though I had to write `thread_small_bitmap` instead of just moving it.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8742#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list