From e9af1abec542e6f9851ff2368e7f196b6382a44c Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Wed, 30 Sep 2020 01:31:27 +0200 Subject: Add support for full-range 64 bit lightuserdata. --- src/jit/dump.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/jit') diff --git a/src/jit/dump.lua b/src/jit/dump.lua index 0cb38b58..06d1e258 100644 --- a/src/jit/dump.lua +++ b/src/jit/dump.lua @@ -315,7 +315,9 @@ local function formatk(tr, idx, sn) local tn = type(k) local s if tn == "number" then - if band(sn or 0, 0x30000) ~= 0 then + if t < 12 then + s = k == 0 and "NULL" or format("[0x%08x]", k) + elseif band(sn or 0, 0x30000) ~= 0 then s = band(sn, 0x20000) ~= 0 and "contpc" or "ftsz" elseif k == 2^52+2^51 then s = "bias" -- cgit v1.2.3-55-g6feb