3 ms·
Thanks. Though I was thinking of how to also save/restore the program counter. There is (or was, a few months ago) actually a bug in luajit that debug.setupval
by versteegen 11y ago
Thanks. Though I was thinking of how to also save/restore the program counter.
There is (or was, a few months ago) actually a bug in luajit that debug.setupvalue doesn't work on JIT compiled functions. From my reading of the source, it's not a major problem to fix it, and someone mentioned that they might do so.