Commit 5ebcb3ac authored by Ömer Sinan Ağacan's avatar Ömer Sinan Ağacan
Browse files

Document unpackClosure# primop

parent 60343a41
......@@ -2631,6 +2631,11 @@ primop NewBCOOp "newBCO#" GenPrimOp
primop UnpackClosureOp "unpackClosure#" GenPrimOp
a -> (# Addr#, Array# b, ByteArray# #)
{ {\tt unpackClosure\# closure} copies non-pointers and pointers in the
payload of the given closure into two new arrays, and returns a pointer to
the first word of the closure's info table, a pointer array for the
pointers in the payload, and a non-pointer array for the non-pointers in
the payload. }
with
out_of_line = True
......
Markdown is supported
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