aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Pall <mike>2010-03-04 20:46:07 +0100
committerMike Pall <mike>2010-03-04 20:46:07 +0100
commitf8f6d0299bf9a52cfddba1c849c561132a3def4a (patch)
treebbf1d391bdca6837904446a9f1ed2b47a1b2f130 /doc
parentaf92a143132ab8f39d9d7893fe4797b67b72bc98 (diff)
downloadluajit-f8f6d0299bf9a52cfddba1c849c561132a3def4a.tar.gz
luajit-f8f6d0299bf9a52cfddba1c849c561132a3def4a.tar.bz2
luajit-f8f6d0299bf9a52cfddba1c849c561132a3def4a.zip
Document jit.status().
Diffstat (limited to 'doc')
-rw-r--r--doc/api.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api.html b/doc/api.html
index f20e5e21..2d596677 100644
--- a/doc/api.html
+++ b/doc/api.html
@@ -143,6 +143,14 @@ side traces from the cache. Returns <tt>true</tt> on success.
143Returns <tt>false</tt> if there are still links to this trace. 143Returns <tt>false</tt> if there are still links to this trace.
144</p> 144</p>
145 145
146<h3 id="jit_status"><tt>status, ... = jit.status()</tt></h3>
147<p>
148Returns the current status of the JIT compiler. The first result is
149either <tt>true</tt> or <tt>false</tt> if the JIT compiler is turned
150on or off. The remaining results are strings for CPU-specific features
151and enabled optimizations.
152</p>
153
146<h3 id="jit_version"><tt>jit.version</tt></h3> 154<h3 id="jit_version"><tt>jit.version</tt></h3>
147<p> 155<p>
148Contains the LuaJIT version string. 156Contains the LuaJIT version string.