aboutsummaryrefslogtreecommitdiff
path: root/src/jit/dump.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/dump.lua')
-rw-r--r--src/jit/dump.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/jit/dump.lua b/src/jit/dump.lua
index 746732f9..f296a517 100644
--- a/src/jit/dump.lua
+++ b/src/jit/dump.lua
@@ -552,7 +552,12 @@ local recdepth = 0
552local function fmterr(err, info) 552local function fmterr(err, info)
553 if type(err) == "number" then 553 if type(err) == "number" then
554 if type(info) == "function" then info = fmtfunc(info) end 554 if type(info) == "function" then info = fmtfunc(info) end
555 err = format(vmdef.traceerr[err], info) 555 local fmt = vmdef.traceerr[err]
556 if fmt == "NYI: bytecode %s" then
557 local oidx = 6 * info
558 info = sub(vmdef.bcnames, oidx+1, oidx+6)
559 end
560 err = format(fmt, info)
556 end 561 end
557 return err 562 return err
558end 563end