You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 23, 2019. It is now read-only.
There are a couple of incompatibilities with the debug features. 1) SF code can't be compiled due to debug hook issues, and 2) we'd have to scrap the coroutine solution because coroutines no longer get their own debug hooks.
The text was updated successfully, but these errors were encountered:
Using jit.off() does not fix the coroutine issue; debug hooks are global in the LuaJIT VM regardless of whether JIT compilation is enabled and that is unlikely to change. I'll look into the compilation issues with JIT on now.
It looks like you're right; see for example this thread. Apparently a debug hook being called will prevent JIT compilation, so it probably wouldn't negatively affect us. At the very least we should disable JIT locally to SF script functions instead of globally. I'll look into what's actually happening in more depth.
You would have to turn off JIT for every function that could be called (directly or indirectly) from SF code. jit.off(func) operates on the function itself then recurses to the functions the passed func defined (not the functions called).
GM13 is getting LuaJIT
There are a couple of incompatibilities with the debug features. 1) SF code can't be compiled due to debug hook issues, and 2) we'd have to scrap the coroutine solution because coroutines no longer get their own debug hooks.
The text was updated successfully, but these errors were encountered: