Commit 66ba4a85 authored by Carl Shapiro's avatar Carl Shapiro

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
parent 046e035f
......@@ -135,6 +135,7 @@ compile(Node *fn)
oldstksize = stksize;
allocauto(ptxt);
plocals->to.type = D_CONST;
plocals->to.offset = stksize;
if(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment