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:
Vyacheslav Egorov 2015-08-19 19:54:54 +02:00
parent eb050f9e2a
commit 2a18a2e6d7

View File

@ -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")