Skip to content

Commit

Permalink
Squashed 'lib/luajit/' changes from 9c6e7c350..1d83bb4ec
Browse files Browse the repository at this point in the history
1d83bb4ec Merge branch PR snabbco#273 (Apply commits up to 04dca791 from luajit/v2.1)
1833ed219 FFI: Add missing coercion when recording 64-bit bit.*().
44fd7ae6e Merge branch 'master' into v2.1
90ef6f69a FFI: Drop finalizer table rehash after GC cycle.
05168b7b6 Merge branch 'master' into v2.1
7ac3ae7d2 Fix another potential file descriptor leak in luaL_loadfile*().
99326d32c Merge branch 'master' into v2.1
e5933a41d Correctly close VM state after early OOM during open.
83587d06e Fix potential file descriptor leak in luaL_loadfile*().
650458c16 Add more FOLD rules for integer conversions.
7715a67c1 Merge branch 'master' into v2.1
7273a3724 Different fix for partial snapshot restore due to stack overflow.
e34177cf0 Fix IR_ABC hoisting.
9dc578a8a Limit CSE for IR_CARG to fix loop optimizations.
97b0aa3dc Merge PR snabbco#270 (Apply commits up to 04dca791 from luajit/v2.1) into master
99790e663 Merge branch 'master' into sync-04dca791-2024-07-11
007433238 Revert "LJ_FR2: Fix stack checks in vararg calls."
078553b4f Merge PR snabbco#271 (Merge Snabb-specific changes) into master
cb2589f16 Update JIT engine default parameters to what works for Snabb
4f88c2eff Don't count tail calls towards loop unroll limit.
38098e387 Revert "FFI: Unify stack setup for C calls in interpreter."
750c02ae0 Revert "FFI/ARM64/OSX: Handle non-standard OSX C calling conventions."
3382ac80f Revert "Windows/ARM64: Support Windows calling conventions."
5628e7b72 Call math.randomseed() without arguments to seed from system entropy.
67daf039f Restore state when recording __concat metamethod throws an error.
516ec81b8 Add build flag LUAJIT_DISABLE_TAILCALL to disable tailcall generation.
dccfe4b73 Clarify that lj_buf_shrink() does not keep any buffer data.
fd7893967 Merge branch 'master' into v2.1
13e71a66f FFI: Fix various issues in recff_cdata_arith.
efc90e402 Fix predict_next() in parser (for real now).
d0663fb1b FFI: Fix __tostring metamethod access to enum cdata value.
91c76f317 Fix typo.
0c09495e8 Handle partial snapshot restore due to stack overflow.
a9722be94 Prevent sanitizer warning in snap_restoredata().
53de3789d Limit number of string format elements to compile.
bf49fb11e FFI: Clarify scalar boxing behavior.
002f73e89 Fix internal link in docs.
e8d803522 Fix segment release check in internal memory allocator.
698261f44 unifdef
4a1c5a0e9 FFI: Turn FFI finalizer table into a proper GC root.
13bf7ef58 Show name of NYI bytecode in -jv and -jdump.
c4d9f914a Use generic trace error for OOM during trace stitching.
27dbce8e5 Fix serialization format docs.
93a4c0d45 Handle all types of errors during trace stitching.
ef091bdbc Fix recording of __concat metamethod.
a8322958a Prevent down-recursion for side traces.
1d8874a79 Check frame size limit before returning to a lower frame.
f5fcfcd99 FFI: Treat cdata finalizer table as a GC root.
8c1cc2af5 Handle stack reallocation in debug.setmetatable() and lua_setmetatable().
7ff5360e2 Merge branch 'master' into v2.1
bf6a57815 Rework stack overflow handling.
3bda471a1 Merge branch 'master' into v2.1
ad65b5371 Preserve keys with dynamic values in template tables when saving bytecode.
5e16b987d Fix documentation bug about '\z' string escape.
6111326b1 Fix zero stripping in %g number formatting.
ea2a2b4ab Merge remote-tracking branch 'origin/master' into sync-f2336c4-2024-01-25
d764e5ada Fix unsinking of IR_FSTORE for NULL metatable.
9516547f7 DynASM/x86: Add endbr instruction.
a0cf52bce Add cross-32/64 bit and deterministic bytecode generation.
325621e21 DynASM/x86: Allow [&expr] operand.
771693498 Check for IR_HREF vs. IR_HREFK aliasing in non-nil store check.
0d21a797f Respect jit.off() on pending trace exit.
3feadf82e Simplify handling of instable types in TNEW/TDUP load forwarding.
5961c7a27 Only emit proper parent references in snapshot replay.
7406035ef Fix anchoring for string buffer set() method (again).
8fd377f40 Document workaround for multilib vs. cross-compiler conflict.
44f5c48cb Fix anchoring for string buffer set() method.
06176c8a3 Optimize table.new() with constant args to (sinkable) IR_TNEW.
8e76c234b Emit sunk IR_NEWREF only once per key on snapshot replay.
c9fbd875c Fix last commit.
95572d5e0 x86/x64: Don't fuse loads across IR_NEWREF.
5e74a8da1 x86/x64: Add more red zone checks to assembler backend.
7d8e32207 Invalidate SCEV entry when returning to lower frame.
3915b2d76 FFI: Fix pragma push stack limit check and throw on overflow.
c274f4026 Check for upvalue state transition in IR_UREFO.
7954eaa0f Add 'cc' file type for saving bytecode.
4bc1e3b86 FFI/Windows: Fix type declaration for int64_t and uint64_t.
8f8c4615f FFI: Fix dangling reference to CType in carith_checkarg().
61d5365eb Maintain chain invariant in DCE.
3b3b339dd LJ_FR2: Fix stack checks in vararg calls.
986bacfce Follow-up fix for stack overflow handling cleanup.
06ede71c3 Handle OOM error on stack resize in coroutine.resume and lua_checkstack.
83e762127 Restore cur_L for specific Lua/C API use case.
2da941f36 Consistently use 64 bit constants for 64 bit IR instructions.
b94d964a2 Add missing coercion when recording select(string, ...)
939d01ece Cleanup stack overflow handling.
2e6229a9a Windows/ARM64: Add MSVC cross-build support for x64 to ARM64.
39321968a IR_MIN/IR_MAX is non-commutative due to underlying FPU ops.
56420f5cb Windows/ARM64: Update install docs.
0022e4b32 Windows: Call C++ destructors without compiling with /EHa.
54e954406 FFI: Fix 64 bit shift fold rules.
c33938e34 Windows/ARM64: Support Windows calling conventions.
a7539913e Windows/ARM64: Add initial support.
4ebbfb4d5 Fix mcode limit check for non-x86 archs.
e18f8aeb0 Add NaN check to IR_NEWREF.
7570998d7 Add randomized register allocation for fuzz testing.
6603e79c8 Update external MSDN URL in code.
7bc9cd62b FFI/ARM64/OSX: Handle non-standard OSX C calling conventions.
6702b7513 FFI: Unify stack setup for C calls in interpreter.
387c1340d Handle table unsinking in the presence of IRFL_TAB_NOMM.
721560ae2 Fix external C call stack check when using LUAJIT_MODE_WRAPCFUNC.
bf8c48ed7 Fix predict_next() in parser (again).
f73a99e3b Add .gitattributes to dynamically resolve .relver.
46c439081 Switch to rolling releases: mark v2.1 as production.
caa2851c0 Switch build system to rolling releases.
a5b6cb244 Update documentation for switch to rolling releases.
ceae5e1d2 Bump copyright date.
6ce61bece Remove work-in-progress notice in string buffer docs.

git-subtree-dir: lib/luajit
git-subtree-split: 1d83bb4ec7581cc1715725af1514297ca3f3ac64
  • Loading branch information
eugeneia committed Aug 22, 2024
1 parent 42bd52f commit 5214eb9
Show file tree
Hide file tree
Showing 151 changed files with 1,151 additions and 1,506 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.relver export-subst
1 change: 1 addition & 0 deletions .relver
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$Format:%ct$
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Copyright is retained by the individual authors and contributors.
===============================================================================
LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/

Copyright (C) 2005-2022 Mike Pall. All rights reserved.
Copyright (C) 2005-2023 Mike Pall. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# For MSVC, please follow the instructions given in src/msvcbuild.bat.
# For MinGW and Cygwin, cd to src and run make with the Makefile there.
#
# Copyright (C) 2005-2022 Mike Pall. See Copyright Notice in luajit.h
# Copyright (C) 2005-2023 Mike Pall. See Copyright Notice in luajit.h
##############################################################################

MAJVER= 1
Expand Down Expand Up @@ -72,7 +72,8 @@ INSTALL_F= install -m 0644
UNINSTALL= $(RM)
LDCONFIG= ldconfig -n 2>/dev/null
SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|" \
-e "s|^multilib=.*|multilib=$(MULTILIB)|"
-e "s|^multilib=.*|multilib=$(MULTILIB)|" \
-e "s|^relver=.*|relver=$(RELVER)|"
ifneq ($(INSTALL_DEFINC),$(INSTALL_INC))
SED_PC+= -e "s|^includedir=.*|includedir=$(INSTALL_INC)|"
endif
Expand Down Expand Up @@ -127,8 +128,7 @@ install: $(INSTALL_DEP)
cd src && $(INSTALL_F) $(FILES_INC) $(INSTALL_INC)
cd src/jit && $(INSTALL_F) $(FILES_JITLIB) $(INSTALL_JITLIB)
$(SYMLINK) $(INSTALL_TNAME) $(INSTALL_TSYM)
@echo ""

@echo "==== Successfully installed LuaJIT $(VERSION) to $(PREFIX) ===="

uninstall:
@echo "==== Uninstalling RaptorJIT $(VERSION) from $(PREFIX) ===="
Expand Down
2 changes: 1 addition & 1 deletion doc/bluequad-print.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2004-2022 Mike Pall.
/* Copyright (C) 2004-2023 Mike Pall.
*
* You are welcome to use the general ideas of this design for your own sites.
* But please do not steal the stylesheet, the layout or the color scheme.
Expand Down
10 changes: 4 additions & 6 deletions doc/bluequad.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2004-2022 Mike Pall.
/* Copyright (C) 2004-2023 Mike Pall.
*
* You are welcome to use the general ideas of this design for your own sites.
* But please do not steal the stylesheet, the layout or the color scheme.
Expand Down Expand Up @@ -206,11 +206,9 @@ img.right {
.ext {
color: #ff8000;
}
.new {
font-size: 6pt;
vertical-align: middle;
background: #ff8000;
color: #ffffff;
.note {
padding: 0.5em 1em;
border-left: 3px solid #bfcfff;
}
#site {
clear: both;
Expand Down
12 changes: 6 additions & 6 deletions doc/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html>
<head>
<title>Contact</title>
<meta charset="utf-8">
<meta name="Copyright" content="Copyright (C) 2005-2022">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Copyright" content="Copyright (C) 2005-2023">
<meta name="Language" content="en">
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
Expand Down Expand Up @@ -44,9 +44,9 @@ <h1>Contact</h1>
<a href="ext_c_api.html">Lua/C API</a>
</li></ul>
</li><li>
<a href="status.html">Status</a>
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
</li><li>
<a href="faq.html">FAQ</a>
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
</li><li>
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
</li></ul>
Expand Down Expand Up @@ -92,15 +92,15 @@ <h1>Contact</h1>
<h2>Copyright</h2>
<p>
All documentation is
Copyright &copy; 2005-2022 Mike Pall.
Copyright &copy; 2005-2023 Mike Pall.
</p>


<br class="flush">
</div>
<div id="foot">
<hr class="hide">
Copyright &copy; 2005-2022
Copyright &copy; 2005-2023
<span class="noprint">
&middot;
<a href="contact.html">Contact</a>
Expand Down
14 changes: 4 additions & 10 deletions doc/ext_buffer.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,8 @@ <h1>String Buffer Library</h1>
operations.
</p>
<p>
The string buffer libary also includes a high-performance
<a href="serialize">serializer</a> for Lua objects.
</p>

<h2 id="wip" style="color:#ff0000">Work in Progress</h2>
<p>
<b style="color:#ff0000">This library is a work in progress. More
functionality will be added soon.</b>
The string buffer library also includes a high-performance
<a href="#serialize">serializer</a> for Lua objects.
</p>

<h2 id="use">Using the String Buffer Library</h2>
Expand Down Expand Up @@ -596,9 +590,9 @@ <h3 id="serialize_format">Serialization Format Specification</h3>
tab → 0x08 // Empty table
| 0x09 h.U h*{object object} // Key/value hash
| 0x0a a.U a*object // 0-based array
| 0x0b a.U a*object h.U h*{object object} // Mixed
| 0x0b a.U h.U a*object h*{object object} // Mixed
| 0x0c a.U (a-1)*object // 1-based array
| 0x0d a.U (a-1)*object h.U h*{object object} // Mixed
| 0x0d a.U h.U (a-1)*object h*{object object} // Mixed
tab_mt → 0x0e (index-1).U tab // Metatable dict entry

int64 → 0x10 int.L // FFI int64_t
Expand Down
10 changes: 5 additions & 5 deletions doc/ext_c_api.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html>
<head>
<title>Lua/C API Extensions</title>
<meta charset="utf-8">
<meta name="Copyright" content="Copyright (C) 2005-2022">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Copyright" content="Copyright (C) 2005-2023">
<meta name="Language" content="en">
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
Expand Down Expand Up @@ -44,9 +44,9 @@ <h1>Lua/C API Extensions</h1>
<a class="current" href="ext_c_api.html">Lua/C API</a>
</li></ul>
</li><li>
<a href="status.html">Status</a>
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
</li><li>
<a href="faq.html">FAQ</a>
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
</li><li>
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
</li></ul>
Expand Down Expand Up @@ -171,7 +171,7 @@ <h3 id="mode_wrapcfunc"><tt>luaJIT_setmode(L, idx, LUAJIT_MODE_WRAPCFUNC|flag)</
</div>
<div id="foot">
<hr class="hide">
Copyright &copy; 2005-2022
Copyright &copy; 2005-2023
<span class="noprint">
&middot;
<a href="contact.html">Contact</a>
Expand Down
10 changes: 5 additions & 5 deletions doc/ext_ffi.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html>
<head>
<title>FFI Library</title>
<meta charset="utf-8">
<meta name="Copyright" content="Copyright (C) 2005-2022">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Copyright" content="Copyright (C) 2005-2023">
<meta name="Language" content="en">
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
Expand Down Expand Up @@ -44,9 +44,9 @@ <h1>FFI Library</h1>
<a href="ext_c_api.html">Lua/C API</a>
</li></ul>
</li><li>
<a href="status.html">Status</a>
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
</li><li>
<a href="faq.html">FAQ</a>
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
</li><li>
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
</li></ul>
Expand Down Expand Up @@ -314,7 +314,7 @@ <h2 id="cdata">Motivating Example: Using C Data Structures</h2>
</div>
<div id="foot">
<hr class="hide">
Copyright &copy; 2005-2022
Copyright &copy; 2005-2023
<span class="noprint">
&middot;
<a href="contact.html">Contact</a>
Expand Down
10 changes: 5 additions & 5 deletions doc/ext_ffi_api.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html>
<head>
<title>ffi.* API Functions</title>
<meta charset="utf-8">
<meta name="Copyright" content="Copyright (C) 2005-2022">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Copyright" content="Copyright (C) 2005-2023">
<meta name="Language" content="en">
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
Expand Down Expand Up @@ -49,9 +49,9 @@ <h1><tt>ffi.*</tt> API Functions</h1>
<a href="ext_c_api.html">Lua/C API</a>
</li></ul>
</li><li>
<a href="status.html">Status</a>
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
</li><li>
<a href="faq.html">FAQ</a>
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
</li><li>
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
</li></ul>
Expand Down Expand Up @@ -556,7 +556,7 @@ <h2 id="literals">Extensions to the Lua Parser</h2>
</div>
<div id="foot">
<hr class="hide">
Copyright &copy; 2005-2022
Copyright &copy; 2005-2023
<span class="noprint">
&middot;
<a href="contact.html">Contact</a>
Expand Down
23 changes: 18 additions & 5 deletions doc/ext_ffi_semantics.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html>
<head>
<title>FFI Semantics</title>
<meta charset="utf-8">
<meta name="Copyright" content="Copyright (C) 2005-2022">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Copyright" content="Copyright (C) 2005-2023">
<meta name="Language" content="en">
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
Expand Down Expand Up @@ -49,9 +49,9 @@ <h1>FFI Semantics</h1>
<a href="ext_c_api.html">Lua/C API</a>
</li></ul>
</li><li>
<a href="status.html">Status</a>
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
</li><li>
<a href="faq.html">FAQ</a>
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
</li><li>
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
</li></ul>
Expand Down Expand Up @@ -438,6 +438,19 @@ <h3 id="convert_vararg">Conversions for vararg C&nbsp;function arguments</h3>
conversion rule applies. A vararg C&nbsp;function expecting an integer
will see a garbled or uninitialized value.
</p>
<p>
Note: this is the only place where creating a boxed scalar number type is
actually useful. <b>Never use <tt>ffi.new("int")</tt>, <tt>ffi.new("float")</tt>
etc. anywhere else!</b>
</p>
<p style="font-size: 8pt;">
Ditto for <tt>ffi.cast()</tt>. Explicitly boxing scalars <b>does not</b>
improve performance or force <tt>int</tt> or <tt>float</tt> arithmetic! It
just adds costly boxing, unboxing and conversions steps. And it may lead
to surprise results, because
<a href="#cdata_arith">cdata arithmetic on scalar numbers</a>
is always performed on 64 bit integers.
</p>

<h2 id="init">Initializers</h2>
<p>
Expand Down Expand Up @@ -1243,7 +1256,7 @@ <h2 id="status">Current Status</h2>
</div>
<div id="foot">
<hr class="hide">
Copyright &copy; 2005-2022
Copyright &copy; 2005-2023
<span class="noprint">
&middot;
<a href="contact.html">Contact</a>
Expand Down
10 changes: 5 additions & 5 deletions doc/ext_ffi_tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html>
<head>
<title>FFI Tutorial</title>
<meta charset="utf-8">
<meta name="Copyright" content="Copyright (C) 2005-2022">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Copyright" content="Copyright (C) 2005-2023">
<meta name="Language" content="en">
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
Expand Down Expand Up @@ -51,9 +51,9 @@ <h1>FFI Tutorial</h1>
<a href="ext_c_api.html">Lua/C API</a>
</li></ul>
</li><li>
<a href="status.html">Status</a>
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
</li><li>
<a href="faq.html">FAQ</a>
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
</li><li>
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
</li></ul>
Expand Down Expand Up @@ -585,7 +585,7 @@ <h2 id="cache">To Cache or Not to Cache</h2>
</div>
<div id="foot">
<hr class="hide">
Copyright &copy; 2005-2022
Copyright &copy; 2005-2023
<span class="noprint">
&middot;
<a href="contact.html">Contact</a>
Expand Down
14 changes: 8 additions & 6 deletions doc/ext_jit.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html>
<head>
<title>jit.* Library</title>
<meta charset="utf-8">
<meta name="Copyright" content="Copyright (C) 2005-2022">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Copyright" content="Copyright (C) 2005-2023">
<meta name="Language" content="en">
<link rel="stylesheet" type="text/css" href="bluequad.css" media="screen">
<link rel="stylesheet" type="text/css" href="bluequad-print.css" media="print">
Expand Down Expand Up @@ -44,9 +44,9 @@ <h1><tt>jit.*</tt> Library</h1>
<a href="ext_c_api.html">Lua/C API</a>
</li></ul>
</li><li>
<a href="status.html">Status</a>
<a href="https://luajit.org/status.html">Status <span class="ext">&raquo;</span></a>
</li><li>
<a href="faq.html">FAQ</a>
<a href="https://luajit.org/faq.html">FAQ <span class="ext">&raquo;</span></a>
</li><li>
<a href="https://luajit.org/list.html">Mailing List <span class="ext">&raquo;</span></a>
</li></ul>
Expand Down Expand Up @@ -133,7 +133,9 @@ <h3 id="jit_version"><tt>jit.version</tt></h3>
<h3 id="jit_version_num"><tt>jit.version_num</tt></h3>
<p>
Contains the version number of the LuaJIT core. Version xx.yy.zz
is represented by the decimal number xxyyzz.
is represented by the decimal number xxyyzz.<br>
<b>DEPRECATED after the switch to
<a href="https://luajit.org/status.html#release"><span class="ext">&raquo;</span>&nbsp;rolling releases</a>. zz is frozen at 99.</b>
</p>

<h3 id="jit_os"><tt>jit.os</tt></h3>
Expand Down Expand Up @@ -183,7 +185,7 @@ <h2 id="jit_util"><tt>jit.util.*</tt> &mdash; JIT compiler introspection</h2>
</div>
<div id="foot">
<hr class="hide">
Copyright &copy; 2005-2022
Copyright &copy; 2005-2023
<span class="noprint">
&middot;
<a href="contact.html">Contact</a>
Expand Down
Loading

0 comments on commit 5214eb9

Please sign in to comment.