From 6a25014c1c33448cabdc013ccb9e5c4fc98a0238 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Sun, 16 Oct 2016 21:04:38 +0200 Subject: LJ_FR2: Fix slot 1 handling. Contributed by Peter Cawley. --- src/jit/dump.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/jit') diff --git a/src/jit/dump.lua b/src/jit/dump.lua index fbadccec..a8bc2af2 100644 --- a/src/jit/dump.lua +++ b/src/jit/dump.lua @@ -338,6 +338,8 @@ local function formatk(tr, idx, sn) elseif t == 21 then -- int64_t s = sub(tostring(k), 1, -3) if sub(s, 1, 1) ~= "-" then s = "+"..s end + elseif sn == 0x1057fff then -- SNAP(1, SNAP_FRAME | SNAP_NORESTORE, REF_NIL) + return "----" -- Special case for LJ_FR2 slot 1. else s = tostring(k) -- For primitives. end -- cgit v1.2.3-55-g6feb