aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2013-11-09 16:23:00 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2013-11-09 16:23:00 +0000
commit86dedeba367e5dc6153f5c92a09ee6888f2ce9a5 (patch)
treedff50b1a0fab6dcbe26ec97549579e43651e3f2c /libgo/runtime
parent5275f3e54604ae1e7143cd32d2cd45eae53b5d19 (diff)
downloadgcc-86dedeba367e5dc6153f5c92a09ee6888f2ce9a5.zip
gcc-86dedeba367e5dc6153f5c92a09ee6888f2ce9a5.tar.gz
gcc-86dedeba367e5dc6153f5c92a09ee6888f2ce9a5.tar.bz2
runtime: Correct flag (FlagNoGC => FlagNoInvokeGC).
From-SVN: r204617
Diffstat (limited to 'libgo/runtime')
-rw-r--r--libgo/runtime/malloc.goc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/malloc.goc b/libgo/runtime/malloc.goc
index d349f47..7247073 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();
}