]> Cypherpunks repositories - gostls13.git/commit
runtime: tweak addfinroots to preserve original pointer
authorRuss Cox <rsc@golang.org>
Thu, 14 Feb 2013 03:31:45 +0000 (22:31 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 14 Feb 2013 03:31:45 +0000 (22:31 -0500)
commite5dae3baaa34c8cd596eb34d6619272921122f4d
treedfe327812cbbff31f000da1472a9f86fc444a782
parent0c8ed71079b4ba7a234192c9b0996115c505b981
runtime: tweak addfinroots to preserve original pointer

Use local variable so that stack trace will show value of v.

Fixes #4790.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/7300106
src/pkg/runtime/mgc0.c