Skip to content
  • Arash Rouhani's avatar
    Rts: Reuse scavenge_small_bitmap (#8742) · 05fcc333
    Arash Rouhani authored and Simon Marlow's avatar Simon Marlow committed
    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.
    05fcc333