diff options
| author | Luuk van Dijk <lvd@golang.org> | 2012-01-17 10:01:12 +0100 |
|---|---|---|
| committer | Luuk van Dijk <lvd@golang.org> | 2012-01-17 10:01:12 +0100 |
| commit | 4e78818259bb9c43d7bc65ae3c15e935d3727770 (patch) | |
| tree | a567677faf625903c206190d0082915195009f26 /src | |
| parent | 9523b4d59c9a902abce9c584ded795376d875d1b (diff) | |
| download | go-4e78818259bb9c43d7bc65ae3c15e935d3727770.tar.xz | |
gc: give esc.c's sink an orig so -mm diagnostics work again.
R=rsc
CC=golang-dev
https://golang.org/cl/5543063
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/gc/esc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
