Skip to content
Snippets Groups Projects
Commit 15c590a5 authored by Ben Gamari's avatar Ben Gamari
Browse files

rts/CloneStack: Don't expose helper functions in header

parent c554b4da
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,13 @@
#include <string.h>
static StgWord getStackFrameCount(StgStack* stack);
static StgWord getStackChunkClosureCount(StgStack* stack);
static void copyPtrsToArray(Capability *cap, StgMutArrPtrs* arr, StgStack* stack);
static StgClosure* createPtrClosure(Capability* cap, InfoProvEnt* ipe);
static StgMutArrPtrs* allocateMutableArray(StgWord size);
static StgStack* cloneStackChunk(Capability* capability, const StgStack* stack)
{
StgWord spOffset = stack->sp - stack->stack;
......
......@@ -23,10 +23,4 @@ StgMutArrPtrs* decodeClonedStack(Capability *cap, StgStack* stack);
void handleCloneStackMessage(MessageCloneStack *msg);
#endif
StgWord getStackFrameCount(StgStack* stack);
StgWord getStackChunkClosureCount(StgStack* stack);
void copyPtrsToArray(Capability *cap, StgMutArrPtrs* arr, StgStack* stack);
StgClosure* createPtrClosure(Capability* cap, InfoProvEnt* ipe);
StgMutArrPtrs* allocateMutableArray(StgWord size);
#include "EndPrivate.h"
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