diff options
author | Mike Pall <mike> | 2010-03-04 20:46:07 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-03-04 20:46:07 +0100 |
commit | f8f6d0299bf9a52cfddba1c849c561132a3def4a (patch) | |
tree | bbf1d391bdca6837904446a9f1ed2b47a1b2f130 /doc | |
parent | af92a143132ab8f39d9d7893fe4797b67b72bc98 (diff) | |
download | luajit-f8f6d0299bf9a52cfddba1c849c561132a3def4a.tar.gz luajit-f8f6d0299bf9a52cfddba1c849c561132a3def4a.tar.bz2 luajit-f8f6d0299bf9a52cfddba1c849c561132a3def4a.zip |
Document jit.status().
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api.html | 8 |
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. | |||
143 | Returns <tt>false</tt> if there are still links to this trace. | 143 | Returns <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> | ||
148 | Returns the current status of the JIT compiler. The first result is | ||
149 | either <tt>true</tt> or <tt>false</tt> if the JIT compiler is turned | ||
150 | on or off. The remaining results are strings for CPU-specific features | ||
151 | and 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> |
148 | Contains the LuaJIT version string. | 156 | Contains the LuaJIT version string. |