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:
@@ -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);
|
||||
}
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário