runtime: Correct flag (FlagNoGC => FlagNoInvokeGC).
From-SVN: r204617
This commit is contained in:
parent
5275f3e546
commit
86dedeba36
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user