From 4e78818259bb9c43d7bc65ae3c15e935d3727770 Mon Sep 17 00:00:00 2001 From: Luuk van Dijk Date: Tue, 17 Jan 2012 10:01:12 +0100 Subject: [PATCH] gc: give esc.c's sink an orig so -mm diagnostics work again. R=rsc CC=golang-dev https://golang.org/cl/5543063 --- src/cmd/gc/esc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/gc/esc.c b/src/cmd/gc/esc.c index 43986c6af2..7e20457d9a 100644 --- a/src/cmd/gc/esc.c +++ b/src/cmd/gc/esc.c @@ -64,6 +64,7 @@ escapes(void) NodeList *l; theSink.op = ONAME; + theSink.orig = &theSink; theSink.class = PEXTERN; theSink.sym = lookup(".sink"); theSink.escloopdepth = -1; -- 2.50.0