Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a cleaned up version of #85 that got too complicated.
I also added few notable changes from original pull-request :
notes :
JIT is working with various optimization (ARMv6, VFPv2, and standard JIT optimizations) but assumes that XN-bit is not set on malloc-ed memory (this has to be verified).
In case of issues with JIT we can still set
-DLUAJIT_DISABLE_JIT
to disable JIT and still have FFI plus a significant performance boost compared to original Lua 5.1. Note that this setting is required for a LuaJIT Switch port.Used in LovePotion LuaJIT port