From 8cc7115bdd26df47924dac160f37f4598df6d31f Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 2 Apr 2009 16:41:53 -0700 Subject: clarification suggested by rob R=r DELTA=4 (4 added, 0 deleted, 0 changed) OCL=26983 CL=27041 --- src/runtime/proc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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) -- cgit v1.2.3