Add a new primop: getCCCS# :: State# s -> (# State# s, Addr# #)
Returns a pointer to the current cost-centre stack when profiling, NULL otherwise.
Showing
- compiler/codeGen/CgPrimOp.hs 2 additions, 0 deletionscompiler/codeGen/CgPrimOp.hs
- compiler/codeGen/StgCmmPrim.hs 3 additions, 0 deletionscompiler/codeGen/StgCmmPrim.hs
- compiler/prelude/primops.txt.pp 3 additions, 0 deletionscompiler/prelude/primops.txt.pp
- rts/Capability.c 3 additions, 0 deletionsrts/Capability.c
Loading
Please register or sign in to comment