Use cdata to pass IR_KINT64 to -jdump.

This commit is contained in:
Mike Pall
2011-01-02 22:20:08 +01:00
parent e66b5b6eee
commit 331b148737
4 changed files with 17 additions and 3 deletions

View File

@@ -295,6 +295,9 @@ local function formatk(tr, idx)
s = format("[%p]", k)
if s == "[0x00000000]" then s = "NULL" end
end
elseif t == 21 then -- int64_t
s = sub(tostring(k), 1, -3)
if sub(s, 1, 1) ~= "-" then s = "+"..s end
else
s = tostring(k) -- For primitives.
end