We advise against using this. It may be changed or removed in a future update.
This function was disabled due to security concerns.
This function isn't officially documented on LuaJIT wiki, use it at your own risk.
Numbers constants goes from 0 (included) to n-1, n being the value of nconsts in jit.util.funcinfo in other words, the consts goes from (nconsts-1) to -n
This function only works for Lua defined functions.