<!DOCTYPE html>
<html data-lt-installed="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
<p>Sergey,<br>
</p>
<div class="moz-cite-prefix">On 21.08.2024 11:58, Sergey Kaplun
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5f4e599660208fb8d5c5bcdcf3480bf2b6052dcf.1724228998.git.skaplun@tarantool.org">
<pre class="moz-quote-pre" wrap="">This patch refactors the aforementioned test to make its code style
closer to ours.
Relates to tarantool/tarantool#9398
---</pre>
</blockquote>
thanks for the patch! LGTM
<blockquote type="cite"
cite="mid:5f4e599660208fb8d5c5bcdcf3480bf2b6052dcf.1724228998.git.skaplun@tarantool.org">
<pre class="moz-quote-pre" wrap="">
test/LuaJIT-tests/trace/gc.lua | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/LuaJIT-tests/trace/gc.lua b/test/LuaJIT-tests/trace/gc.lua
index 43d7ae55..f6b40aac 100644
--- a/test/LuaJIT-tests/trace/gc.lua
+++ b/test/LuaJIT-tests/trace/gc.lua
@@ -5,9 +5,9 @@ do --- Collect dead traces.
collectgarbage()
-- Prevent the creation of side traces.
jit.off()
- for j=1,100 do
+ for _ = 1, 100 do
jit.on()
- loadstring("for i=1,100 do end")()
+ loadstring("for _ = 1, 100 do end")()
jit.off()
end
jit.on()
@@ -29,7 +29,7 @@ do --- Check KGC marking.
end
end
jit.attach(reccb, "record")
- for i=1,200 do
+ for i = 1, 200 do
if i % 5 == 0 then
f = function() end
elseif f then
</pre>
</blockquote>
</body>
<lt-container></lt-container>
</html>