Temporary fix inifite loop in gc

This commit is contained in:
Xinchen Hui 2015-04-11 17:40:29 +08:00
parent 45c3112726
commit f08414ce1d

View File

@ -254,7 +254,10 @@ tail_call:
if (EXPECTED(!ht)) {
ref = Z_COUNTED_P(zv);
GC_REFCOUNT(ref)++;
goto tail_call;
if (GC_GET_COLOR(GC_INFO(ref)) != GC_BLACK) {
goto tail_call;
}
return;
}
} else {
return;