Commit 081ef2fb authored by Simon Marlow's avatar Simon Marlow

Add a comment about stack checks

parent e6b38294
......@@ -199,6 +199,8 @@ INFO_TABLE_FUN( stg_BCO, 4, 0, BCO, "BCO", "BCO", ARG_BCO )
{
/* entering a BCO means "apply it", same as a function */
Sp_adj(-2);
// Skip the stack check; the interpreter will do one before using
// the stack anyway.
Sp(1) = R1;
Sp(0) = stg_apply_interp_info;
jump stg_yield_to_interpreter [];
......
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