mirror of
https://github.com/golang/go
synced 2024-11-26 10:58:16 -07:00
cmd/gc: mark LOCALS argument as a constant to print correctly
Fixes #4875. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7376049
This commit is contained in:
parent
046e035fca
commit
66ba4a85e4
@ -135,6 +135,7 @@ compile(Node *fn)
|
||||
oldstksize = stksize;
|
||||
allocauto(ptxt);
|
||||
|
||||
plocals->to.type = D_CONST;
|
||||
plocals->to.offset = stksize;
|
||||
|
||||
if(0)
|
||||
|
Loading…
Reference in New Issue
Block a user