summaryrefslogtreecommitdiff
path: root/src/runtime/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/proc.c')
-rw-r--r--src/runtime/proc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/proc.c b/src/runtime/proc.c
index f7a447880..f35641c7e 100644
--- a/src/runtime/proc.c
+++ b/src/runtime/proc.c
@@ -546,6 +546,10 @@ sys·exitsyscall(void)
* don't bother with the check and always call morestack.
* the sequences are:
*
+ * guard = g->stackguard
+ * frame = function's stack frame size
+ * argsize = size of function arguments (call + return)
+ *
* stack frame size <= StackSmall:
* CMPQ guard, SP
* JHI 3(PC)