Skip to content
Snippets Groups Projects
Commit d57059f7 authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment