Clarify behavior that if the first argument of jit.off is nil

This commit is contained in:
Yasuhiro Horimoto 2018-06-08 11:49:57 +09:00
parent b025b01c5b
commit 867d92838b

View File

@ -114,6 +114,10 @@ Typical usage is <tt>jit.off(true, true)</tt> in the main chunk
of a module to turn off JIT compilation for the whole module for of a module to turn off JIT compilation for the whole module for
debugging purposes. debugging purposes.
</p> </p>
<p>
If the first argument of <tt>jit.off</tt> is <tt>nil</tt>, disable
JIT compilation for all modules.
</p>
<h3 id="jit_flush_tr"><tt>jit.flush(tr)</tt></h3> <h3 id="jit_flush_tr"><tt>jit.flush(tr)</tt></h3>
<p> <p>