mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-12 17:24:09 +00:00
Merge branch 'master' into v2.1
This commit is contained in:
commit
b93b624ad8
@ -500,8 +500,7 @@ static ptrdiff_t finderrfunc(lua_State *L)
|
||||
{
|
||||
cTValue *frame = L->base-1, *bot = tvref(L->stack);
|
||||
void *cf = L->cframe;
|
||||
while (frame > bot) {
|
||||
lua_assert(cf != NULL);
|
||||
while (frame > bot && cf) {
|
||||
while (cframe_nres(cframe_raw(cf)) < 0) { /* cframe without frame? */
|
||||
if (frame >= restorestack(L, -cframe_nres(cf)))
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user