summaryrefslogtreecommitdiff
path: root/src/runtime/proc.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-04-02 16:41:53 -0700
committerRuss Cox <rsc@golang.org>2009-04-02 16:41:53 -0700
commite35ac0f6d2a50dd4ea44003b0a2b1dc64620f51c (patch)
treeada0ccb9bdda631352927eeccef13a7b30060f94 /src/runtime/proc.c
parent8974a8aa3188d6461cbfac7177523339c6d58aee (diff)
downloadgo-e35ac0f6d2a50dd4ea44003b0a2b1dc64620f51c.tar.gz
clarification suggested by rob
R=r DELTA=4 (4 added, 0 deleted, 0 changed) OCL=26983 CL=27041
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)