diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-09 16:23:00 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-09 16:23:00 +0000 |
commit | 96d4cdf3ffa8f0235923f0f3ce2b5f61b8cb06ee (patch) | |
tree | dff50b1a0fab6dcbe26ec97549579e43651e3f2c /libgo | |
parent | b06ebed55304d3344917a8b249cab1955a9e7d23 (diff) | |
download | gcc-96d4cdf3ffa8f0235923f0f3ce2b5f61b8cb06ee.tar.gz |
runtime: Correct flag (FlagNoGC => FlagNoInvokeGC).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204617 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/runtime/malloc.goc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/malloc.goc b/libgo/runtime/malloc.goc index d349f4749fa..72470730471 100644 --- a/libgo/runtime/malloc.goc +++ b/libgo/runtime/malloc.goc @@ -78,7 +78,7 @@ runtime_mallocgc(uintptr size, uintptr typ, uint32 flag) flag |= FlagNoGC; } - if(runtime_gcwaiting() && g != m->g0 && m->locks == 0 && !(flag & FlagNoGC)) { + if(runtime_gcwaiting() && g != m->g0 && m->locks == 0 && !(flag & FlagNoInvokeGC)) { runtime_gosched(); m = runtime_m(); } |