Commit 6aaa0655 authored by Ömer Sinan Ağacan's avatar Ömer Sinan Ağacan Committed by Ben Gamari

Documentation for StgRetFun

parent 8765c1e6
Pipeline #1154 passed with stages
in 249 minutes and 23 seconds
......@@ -260,6 +260,9 @@ typedef struct {
* info table describes the pointerhood of the arguments).
*
* The stack frame size is also cached in the frame for convenience.
*
* The only RET_FUN is stg_gc_fun, which is created by __stg_gc_fun,
* both in HeapStackCheck.cmm.
*/
typedef struct {
const StgInfoTable* info;
......
......@@ -903,7 +903,7 @@ genStackApply regstatus args =
--
-- These code fragments are used to save registers on the stack at a heap
-- check failure in the entry code for a function. We also have to save R1
-- and the return address (stg_gc_fun_info) on the stack. See __stg_gc_fun
-- in HeapStackCheck.cmm for more details.
mkStackSaveEntryLabel :: [ArgRep] -> Doc
......
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