Merge branch 'master' into v2.1

This commit is contained in:
Mike Pall
2013-11-05 19:46:41 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -685,7 +685,7 @@ int LJ_FASTCALL lj_gc_step(lua_State *L)
if (g->gc.debt < GCSTEPSIZE) {
g->gc.threshold = g->gc.total + GCSTEPSIZE;
g->vmstate = ostate;
return 1;
return -1;
} else {
g->gc.debt -= GCSTEPSIZE;
g->gc.threshold = g->gc.total;