1
0
mirror of https://github.com/golang/go synced 2024-11-12 10:00:25 -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:
Carl Shapiro 2013-02-22 15:32:54 -08:00
parent 046e035fca
commit 66ba4a85e4

View File

@ -135,6 +135,7 @@ compile(Node *fn)
oldstksize = stksize; oldstksize = stksize;
allocauto(ptxt); allocauto(ptxt);
plocals->to.type = D_CONST;
plocals->to.offset = stksize; plocals->to.offset = stksize;
if(0) if(0)