From f8f6d0299bf9a52cfddba1c849c561132a3def4a Mon Sep 17 00:00:00 2001
From: Mike Pall
Date: Thu, 4 Mar 2010 20:46:07 +0100
Subject: [PATCH] Document jit.status().
---
doc/api.html | 8 ++++++++
1 file changed, 8 insertions(+)
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 true on success.
Returns false if there are still links to this trace.
+status, ... = jit.status()
+
+Returns the current status of the JIT compiler. The first result is
+either true or false if the JIT compiler is turned
+on or off. The remaining results are strings for CPU-specific features
+and enabled optimizations.
+
+
jit.version
Contains the LuaJIT version string.