diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-03-13 19:42:47 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-03-17 05:05:10 -0400 |
commit | cb61371e3260e07be724a04b72a935133f66b514 (patch) | |
tree | 456e4f3fa84ab7f8fa94ed66f717f6ea949899f8 /rts/RtsSymbols.c | |
parent | 3f2291e47b8e00f1312c9be31484ceddd1289212 (diff) | |
download | haskell-cb61371e3260e07be724a04b72a935133f66b514.tar.gz |
ghc-heap: Introduce closureSize
This function allows the user to compute the (non-transitive) size of a
heap object in words. The "closure" in the name is admittedly confusing
but we are stuck with this nomenclature at this point.
Diffstat (limited to 'rts/RtsSymbols.c')
-rw-r--r-- | rts/RtsSymbols.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c index 6966d6deb9..eb0322ed3e 100644 --- a/rts/RtsSymbols.c +++ b/rts/RtsSymbols.c @@ -631,6 +631,7 @@ SymI_HasProto(initLinker) \ SymI_HasProto(initLinker_) \ SymI_HasProto(stg_unpackClosurezh) \ + SymI_HasProto(stg_closureSizzezh) \ SymI_HasProto(stg_getApStackValzh) \ SymI_HasProto(stg_getSparkzh) \ SymI_HasProto(stg_numSparkszh) \ |