More Android trickery (#7059)

* Modernize jit syntax

It's built-in, no need for a require anymore.

* Flag Android should_restrict_JIT again

It's mildly helpful at putting off the inevitable.
(very, very, very, very mildly).

* Bump android-luajit-launcher

https://github.com/koreader/android-luajit-launcher/pull/281
This commit is contained in:
NiLuJe
2020-12-26 20:23:51 +01:00
committed by GitHub
parent b8bed49a61
commit f1f439d08b
6 changed files with 6 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ local bor = bit.bor
local lshift = bit.lshift
if Device.should_restrict_JIT then
require("jit").off(true, true)
jit.off(true, true)
end
--[[