mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-10 22:00:54 +01:00
Update lgc.cpp
This commit is contained in:
parent
3cde5335fd
commit
c78471a7a5
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ static void shrinkstack(lua_State* L)
|
||||||
|
|
||||||
if (3 * size_t(s_used) < size_t(L->stacksize) && 2 * (BASIC_STACK_SIZE + EXTRA_STACK) < L->stacksize)
|
if (3 * size_t(s_used) < size_t(L->stacksize) && 2 * (BASIC_STACK_SIZE + EXTRA_STACK) < L->stacksize)
|
||||||
luaD_reallocstack(L, L->stacksize / 2, 0); // still big enough...
|
luaD_reallocstack(L, L->stacksize / 2, 0); // still big enough...
|
||||||
condhardstacktests(luaD_reallocstack(L, s_used));
|
condhardstacktests(luaD_reallocstack(L, s_used, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue