Mirror of the LuaJIT git repository
Go to file
Mike Pall 1c27912705 Print errors from __gc finalizers instead of rethrowing them.
Finalizers are not supposed to throw errors -- this is undefined behavior.
Lua 5.1 - 5.3 and (previously) LuaJIT rethrow the error. This randomly
breaks some unrelated code that just happens to do an allocation. Bad.
Lua 5.4 catches the error and emits a warning instead. But warnings are
not enabled by default, so it fails silently. Even worse.
LuaJIT (now) catches the error and emits a VM event. The default event
handler function prints "ERROR in finalizer: ...".
Set a custom handler function with: jit.attach(handler, "errfin")
2023-04-16 18:13:48 +02:00
doc Disable FMA by default. Use -Ofma or jit.opt.start("+fma") to enable. 2022-12-07 18:38:22 +01:00
dynasm DynASM: Fix warnings. 2022-06-08 16:21:01 +02:00
etc Merge branch 'master' into v2.1 2022-01-15 19:42:30 +01:00
src Print errors from __gc finalizers instead of rethrowing them. 2023-04-16 18:13:48 +02:00
.gitignore RELEASE LuaJIT-2.0.0-beta1 2009-12-08 19:46:35 +01:00
COPYRIGHT Bump copyright date. 2022-01-15 19:30:54 +01:00
Makefile Merge branch 'master' into v2.1 2022-08-15 14:16:39 +02:00
README Merge branch 'master' into v2.1 2022-01-15 19:42:30 +01:00

README for LuaJIT 2.1.0-beta3
-----------------------------

LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.

Project Homepage: https://luajit.org/

LuaJIT is Copyright (C) 2005-2022 Mike Pall.
LuaJIT is free software, released under the MIT license.
See full Copyright Notice in the COPYRIGHT file or in luajit.h.

Documentation for LuaJIT is available in HTML format.
Please point your favorite browser to:

 doc/luajit.html