Commit d57059f7 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot

rts: Add missing const in HEAP_ALLOCED_GC

This was previously unnoticed as this code-path is hit on very few
platforms (e.g. OpenBSD).
parent 7c28087a
Pipeline #12186 passed with stages
in 424 minutes and 45 seconds
......@@ -192,7 +192,7 @@ StgBool HEAP_ALLOCED(const void *p)
// updated atomically, but we need to place a lock around operations
// that touch the MBlock map.
INLINE_HEADER
StgBool HEAP_ALLOCED_GC(void *p)
StgBool HEAP_ALLOCED_GC(const void *p)
{
StgWord mblock;
uint32_t entry_no;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment