diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-11-11 21:02:48 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-11-11 21:02:48 +0000 |
commit | 34277c5228d466ffcd4260eea1805ca77972c83c (patch) | |
tree | 6dc91773cd2743418de4eb59e161cb0a4381c77a /libgo/runtime/mgc0.c | |
parent | 292b44341cc5355d353cb652eb3d78d3341c800f (diff) | |
download | gcc-34277c5228d466ffcd4260eea1805ca77972c83c.zip gcc-34277c5228d466ffcd4260eea1805ca77972c83c.tar.gz gcc-34277c5228d466ffcd4260eea1805ca77972c83c.tar.bz2 |
Introduce G structure and thread-local global g.
From-SVN: r181301
Diffstat (limited to 'libgo/runtime/mgc0.c')
-rw-r--r-- | libgo/runtime/mgc0.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |