Skip to content

Commit

Permalink
Add test for BC_KNIL slot revival under LJ_GC64
Browse files Browse the repository at this point in the history
  • Loading branch information
corsix committed Oct 19, 2016
1 parent 14c132e commit 63a6f7e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/trace/gc64_slot_revival.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
do --- BC_KNIL
local function f(x, y) end
for i = 1,100 do
f(i, i)
f(nil, nil)
end
end
1 change: 1 addition & 0 deletions test/trace/index
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
exit_frame.lua
exit_growstack.lua
exit_jfuncf.lua
gc64_slot_revival.lua
phi
snap.lua
stitch.lua

0 comments on commit 63a6f7e

Please sign in to comment.