Skip to content

Commit 014708b

Browse files
committed
Add test for BC_VARG slot revival
1 parent 63a6f7e commit 014708b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/trace/gc64_slot_revival.lua

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,14 @@ do --- BC_KNIL
55
f(nil, nil)
66
end
77
end
8+
9+
do --- BC_VARG
10+
local function f() end
11+
local function g(...)
12+
f()
13+
f(...)
14+
end
15+
for i = 1,100 do
16+
g()
17+
end
18+
end

0 commit comments

Comments
 (0)