]> Cypherpunks repositories - gostls13.git/commitdiff
clarification suggested by rob
authorRuss Cox <rsc@golang.org>
Thu, 2 Apr 2009 23:41:53 +0000 (16:41 -0700)
committerRuss Cox <rsc@golang.org>
Thu, 2 Apr 2009 23:41:53 +0000 (16:41 -0700)
R=r
DELTA=4  (4 added, 0 deleted, 0 changed)
OCL=26983
CL=27041

src/runtime/proc.c

index f7a44788006a7a35112fb3c66ba5d57f564a4ce0..f35641c7eb30d58905656a337c38278bed8fe22c 100644 (file)
@@ -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)