From: Keith Randall Date: Tue, 11 Jun 2013 16:01:27 +0000 (-0700) Subject: cmd/cc: emit size of locals. Will be used for stack copying. X-Git-Tag: go1.2rc2~1278 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e4b5cbde463646475b160141e733e84174b79168;p=gostls13.git cmd/cc: emit size of locals. Will be used for stack copying. R=cshapiro, dvyukov, khr, rsc CC=golang-dev https://golang.org/cl/10005044 --- diff --git a/src/cmd/cc/pgen.c b/src/cmd/cc/pgen.c index d5849dc315..628f858b63 100644 --- a/src/cmd/cc/pgen.c +++ b/src/cmd/cc/pgen.c @@ -85,6 +85,7 @@ codgen(Node *n, Node *nn) p = gtext(n1->sym, stkoff); sp = p; + gins(ALOCALS, Z, nodconst(stkoff)); /* * isolate first argument