mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 15:34:09 +00:00
FIx NYICF message
It should use %s instead of %p because in jit/dump.lua info associated with an error is formatted to string with fmtfunc(info) if info is a function. This means NYICF used to print addresses of temporary strings returned by fmtfunc(...) instead of anything useful.
This commit is contained in:
parent
eb050f9e2a
commit
2a18a2e6d7
@ -25,7 +25,7 @@ TREDEF(BADTYPE, "bad argument type")
|
||||
TREDEF(CJITOFF, "JIT compilation disabled for function")
|
||||
TREDEF(CUNROLL, "call unroll limit reached")
|
||||
TREDEF(DOWNREC, "down-recursion, restarting")
|
||||
TREDEF(NYICF, "NYI: C function %p")
|
||||
TREDEF(NYICF, "NYI: C function %s")
|
||||
TREDEF(NYIFF, "NYI: FastFunc %s")
|
||||
TREDEF(NYIFFU, "NYI: unsupported variant of FastFunc %s")
|
||||
TREDEF(NYIRETL, "NYI: return to lower frame")
|
||||
|
Loading…
Reference in New Issue
Block a user