Skip to content

Commit 63a6f7e

Browse files
committed
Add test for BC_KNIL slot revival under LJ_GC64
1 parent 14c132e commit 63a6f7e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

test/trace/gc64_slot_revival.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
do --- BC_KNIL
2+
local function f(x, y) end
3+
for i = 1,100 do
4+
f(i, i)
5+
f(nil, nil)
6+
end
7+
end

test/trace/index

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
exit_frame.lua
22
exit_growstack.lua
33
exit_jfuncf.lua
4+
gc64_slot_revival.lua
45
phi
56
snap.lua
67
stitch.lua

0 commit comments

Comments
 (0)