From 34277c5228d466ffcd4260eea1805ca77972c83c Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 11 Nov 2011 21:02:48 +0000 Subject: Introduce G structure and thread-local global g. From-SVN: r181301 --- libgo/runtime/mgc0.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libgo/runtime/mgc0.c') diff --git a/libgo/runtime/mgc0.c b/libgo/runtime/mgc0.c index cb58525..6d402e5 100644 --- a/libgo/runtime/mgc0.c +++ b/libgo/runtime/mgc0.c @@ -652,7 +652,8 @@ mark(void (*scan)(byte*, int64)) } } - scan((byte*)&m0, sizeof m0); + scan((byte*)&runtime_m0, sizeof runtime_m0); + scan((byte*)&runtime_g0, sizeof runtime_g0); scan((byte*)&finq, sizeof finq); runtime_MProf_Mark(scan); -- cgit v1.1