1
0
mirror of https://github.com/golang/go synced 2024-11-12 04:00:23 -07:00

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
This commit is contained in:
Keith Randall 2013-06-11 09:01:27 -07:00
parent 1f51d27922
commit e4b5cbde46

View File

@ -85,6 +85,7 @@ codgen(Node *n, Node *nn)
p = gtext(n1->sym, stkoff);
sp = p;
gins(ALOCALS, Z, nodconst(stkoff));
/*
* isolate first argument