Commit 44a5507f authored by Peter Trommler's avatar Peter Trommler 🥁 Committed by Marge Bot
Browse files

RTS: Fix CloneStack.c when no table next to code

Function `lookupIPE` does not modify its argument. Reflect this in the
type. Module `CloneStack.c` relies on this for RTS without tables
next to code.

Fixes #20879
parent 8b6aafb2
Pipeline #45746 failed with stages
in 407 minutes and 46 seconds
......@@ -157,7 +157,7 @@ void registerInfoProvList(InfoProvEnt **ent_list) {
InfoProvEnt *lookupIPE(StgInfoTable *info) {
InfoProvEnt *lookupIPE(const StgInfoTable *info) {
return lookupHashTable(ipeMap, (StgWord)info);
......@@ -28,4 +28,4 @@ typedef struct InfoProvEnt_ {
} InfoProvEnt;
void registerInfoProvList(InfoProvEnt **cc_list);
InfoProvEnt *lookupIPE(StgInfoTable *info);
InfoProvEnt *lookupIPE(const StgInfoTable *info);
Supports Markdown
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