1
0
Fork 0

(svn r17284) -Fix [Squirrel]: stack was not always cleared properly with tail recursion

release/1.0
rubidium 2009-08-25 15:09:27 +00:00
parent b9536e933f
commit 4ac4c28a3b
1 changed files with 1 additions and 2 deletions

View File

@ -774,9 +774,8 @@ common_call:
_GUARD(gen->Yield(this)); _GUARD(gen->Yield(this));
Return(1, ct_target, clo); Return(1, ct_target, clo);
STK(ct_target) = gen; STK(ct_target) = gen;
CLEARSTACK(last_top);
continue;
} }
CLEARSTACK(last_top);
} }
continue; continue;
case OT_NATIVECLOSURE: { case OT_NATIVECLOSURE: {