Sergey,
This patch refactors the aforementioned test to make its code style closer to ours. Relates to tarantool/tarantool#9398 ---
thanks for the patch! LGTM with a minor:
probably line 10 needs more whitespaces:
> do local a,b,c,d,e,f,g,h,i,j,k,l,m,n end -- Ensure
bigger frame size.
test/LuaJIT-tests/lang/gc_stack.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/LuaJIT-tests/lang/gc_stack.lua b/test/LuaJIT-tests/lang/gc_stack.lua index cd3d8f90..8aee57e3 100644 --- a/test/LuaJIT-tests/lang/gc_stack.lua +++ b/test/LuaJIT-tests/lang/gc_stack.lua @@ -1,5 +1,5 @@ do --- Marking sparse stack. - local t = setmetatable({}, { __index=function(t, k) + local t = setmetatable({}, { __index = function(t, k) k = k - 1 if k == 0 then collectgarbage() -- Mark stack, including holes.