Commit 4e788182 authored by Luuk van Dijk's avatar Luuk van Dijk

gc: give esc.c's sink an orig so -mm diagnostics work again.

R=rsc
CC=golang-dev
https://golang.org/cl/5543063
parent 9523b4d5
...@@ -64,6 +64,7 @@ escapes(void) ...@@ -64,6 +64,7 @@ escapes(void)
NodeList *l; NodeList *l;
theSink.op = ONAME; theSink.op = ONAME;
theSink.orig = &theSink;
theSink.class = PEXTERN; theSink.class = PEXTERN;
theSink.sym = lookup(".sink"); theSink.sym = lookup(".sink");
theSink.escloopdepth = -1; theSink.escloopdepth = -1;
......
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