Fix an assertion in traceRet, relating to generator frames

This was firing in my sandbox.  I didn't find anything that
looked like it changed it recently, so I'm not sure why it wasn't
firing earlier.
Esse commit está contido em:
jdelong
2013-03-31 15:31:06 -07:00
commit de Sara Golemon
commit 6ddd4be669
+1 -1
Ver Arquivo
@@ -2023,7 +2023,7 @@ void traceRet(ActRec* fp, Cell* sp, void* rip) {
return;
}
checkFrame(fp, sp, /*checkLocals*/ false);
assert(sp <= (Cell*)fp);
assert(sp <= (Cell*)fp || fp->m_func->isGenerator());
// check return value if stack not empty
if (sp < (Cell*)fp) assertTv(sp);
}