Add jit.os string.

This commit is contained in:
Mike Pall
2010-11-16 15:05:21 +01:00
parent 24baf77955
commit 751ff5b392
2 changed files with 10 additions and 1 deletions

View File

@@ -127,9 +127,16 @@ Contains the version number of the LuaJIT core. Version xx.yy.zz
is represented by the decimal number xxyyzz.
</p>
<h3 id="jit_os"><tt>jit.os</tt></h3>
<p>
Contains the target OS name:
"Windows", "Linux", "OSX", "BSD", "Posix" or "Other".
</p>
<h3 id="jit_arch"><tt>jit.arch</tt></h3>
<p>
Contains the target architecture name (CPU and optional ABI).
Contains the target architecture name:
"x86", "x64" or "ppcspe".
</p>
<h2 id="jit_opt"><tt>jit.opt.*</tt> &mdash; JIT compiler optimization control</h2>