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:
parent
1f51d27922
commit
e4b5cbde46
@ -85,6 +85,7 @@ codgen(Node *n, Node *nn)
|
||||
|
||||
p = gtext(n1->sym, stkoff);
|
||||
sp = p;
|
||||
gins(ALOCALS, Z, nodconst(stkoff));
|
||||
|
||||
/*
|
||||
* isolate first argument
|
||||
|
Loading…
Reference in New Issue
Block a user