mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
RELEASE LuaJIT-2.0.0-beta7
This commit is contained in:
parent
998061f530
commit
cfdc356ebe
2
Makefile
2
Makefile
@ -16,7 +16,7 @@
|
|||||||
MAJVER= 2
|
MAJVER= 2
|
||||||
MINVER= 0
|
MINVER= 0
|
||||||
RELVER= 0
|
RELVER= 0
|
||||||
PREREL= -beta6
|
PREREL= -beta7
|
||||||
VERSION= $(MAJVER).$(MINVER).$(RELVER)$(PREREL)
|
VERSION= $(MAJVER).$(MINVER).$(RELVER)$(PREREL)
|
||||||
ABIVER= 5.1
|
ABIVER= 5.1
|
||||||
NODOTABIVER= 51
|
NODOTABIVER= 51
|
||||||
|
2
README
2
README
@ -1,4 +1,4 @@
|
|||||||
README for LuaJIT 2.0.0-beta6
|
README for LuaJIT 2.0.0-beta7
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.
|
LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language.
|
||||||
|
@ -59,7 +59,7 @@ div.major { max-width: 600px; padding: 1em; margin: 1em 0 1em 0; }
|
|||||||
<div id="main">
|
<div id="main">
|
||||||
<p>
|
<p>
|
||||||
This is a list of changes between the released versions of LuaJIT.<br>
|
This is a list of changes between the released versions of LuaJIT.<br>
|
||||||
The current <span style="color: #c00000;">development version</span> is <strong>LuaJIT 2.0.0-beta6</strong>.<br>
|
The current <span style="color: #c00000;">development version</span> is <strong>LuaJIT 2.0.0-beta7</strong>.<br>
|
||||||
The current <span style="color: #0000c0;">stable version</span> is <strong>LuaJIT 1.1.7</strong>.
|
The current <span style="color: #0000c0;">stable version</span> is <strong>LuaJIT 1.1.7</strong>.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
@ -84,10 +84,10 @@ code a C compiler would generate. Calls to C functions can
|
|||||||
be inlined in JIT-compiled code, unlike calls to functions bound via
|
be inlined in JIT-compiled code, unlike calls to functions bound via
|
||||||
the classic Lua/C API.
|
the classic Lua/C API.
|
||||||
</p>
|
</p>
|
||||||
<p><em>
|
<p>
|
||||||
This page gives a short introduction to the usage of the FFI library.
|
This page gives a short introduction to the usage of the FFI library.
|
||||||
<em>Please use the FFI sub-topics in the navigation bar to learn more.</em>
|
<em>Please use the FFI sub-topics in the navigation bar to learn more.</em>
|
||||||
</em></p>
|
</p>
|
||||||
|
|
||||||
<h2 id="call">Motivating Example: Calling External C Functions</h2>
|
<h2 id="call">Motivating Example: Calling External C Functions</h2>
|
||||||
<p>
|
<p>
|
||||||
|
@ -171,8 +171,8 @@ open a terminal window and change to this directory. Now unpack the archive
|
|||||||
and change to the newly created directory:
|
and change to the newly created directory:
|
||||||
</p>
|
</p>
|
||||||
<pre class="code">
|
<pre class="code">
|
||||||
tar zxf LuaJIT-2.0.0-beta6.tar.gz
|
tar zxf LuaJIT-2.0.0-beta7.tar.gz
|
||||||
cd LuaJIT-2.0.0-beta6</pre>
|
cd LuaJIT-2.0.0-beta7</pre>
|
||||||
<h3>Building LuaJIT</h3>
|
<h3>Building LuaJIT</h3>
|
||||||
<p>
|
<p>
|
||||||
The supplied Makefiles try to auto-detect the settings needed for your
|
The supplied Makefiles try to auto-detect the settings needed for your
|
||||||
@ -222,11 +222,11 @@ Obviously the prefixes given during build and installation need to be the same.
|
|||||||
<p style="color: #c00000;">
|
<p style="color: #c00000;">
|
||||||
Note: to avoid overwriting a previous version, the beta test releases
|
Note: to avoid overwriting a previous version, the beta test releases
|
||||||
only install the LuaJIT executable under the versioned name (i.e.
|
only install the LuaJIT executable under the versioned name (i.e.
|
||||||
<tt>luajit-2.0.0-beta6</tt>). You probably want to create a symlink
|
<tt>luajit-2.0.0-beta7</tt>). You probably want to create a symlink
|
||||||
for convenience, with a command like this:
|
for convenience, with a command like this:
|
||||||
</p>
|
</p>
|
||||||
<pre class="code" style="color: #c00000;">
|
<pre class="code" style="color: #c00000;">
|
||||||
sudo ln -sf luajit-2.0.0-beta6 /usr/local/bin/luajit
|
sudo ln -sf luajit-2.0.0-beta7 /usr/local/bin/luajit
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h2 id="windows">Windows Systems</h2>
|
<h2 id="windows">Windows Systems</h2>
|
||||||
|
@ -85,11 +85,11 @@ interactive mode, too.
|
|||||||
<p class="indent" style="color: #c00000;">
|
<p class="indent" style="color: #c00000;">
|
||||||
Note: the beta test releases only install under the versioned name on
|
Note: the beta test releases only install under the versioned name on
|
||||||
POSIX systems (to avoid overwriting a previous version). You either need
|
POSIX systems (to avoid overwriting a previous version). You either need
|
||||||
to type <tt>luajit-2.0.0-beta6</tt> to start it or create a symlink
|
to type <tt>luajit-2.0.0-beta7</tt> to start it or create a symlink
|
||||||
with a command like this:
|
with a command like this:
|
||||||
</p>
|
</p>
|
||||||
<pre class="code" style="color: #c00000;">
|
<pre class="code" style="color: #c00000;">
|
||||||
sudo ln -sf luajit-2.0.0-beta6 /usr/local/bin/luajit
|
sudo ln -sf luajit-2.0.0-beta7 /usr/local/bin/luajit
|
||||||
</pre>
|
</pre>
|
||||||
<p>
|
<p>
|
||||||
Unlike previous versions <b>optimization is turned on by default</b> in
|
Unlike previous versions <b>optimization is turned on by default</b> in
|
||||||
@ -135,7 +135,7 @@ itself. For a description of their options and output format, please
|
|||||||
read the comment block at the start of their source.
|
read the comment block at the start of their source.
|
||||||
They can be found in the <tt>lib</tt> directory of the source
|
They can be found in the <tt>lib</tt> directory of the source
|
||||||
distribution or installed under the <tt>jit</tt> directory. By default
|
distribution or installed under the <tt>jit</tt> directory. By default
|
||||||
this is <tt>/usr/local/share/luajit-2.0.0-beta6/jit</tt> on POSIX
|
this is <tt>/usr/local/share/luajit-2.0.0-beta7/jit</tt> on POSIX
|
||||||
systems.
|
systems.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -9,9 +9,9 @@
|
|||||||
local _info = {
|
local _info = {
|
||||||
arch = "arm",
|
arch = "arm",
|
||||||
description = "DynASM ARM module",
|
description = "DynASM ARM module",
|
||||||
version = "1.2.2",
|
version = "1.3.0",
|
||||||
vernum = 10202,
|
vernum = 10300,
|
||||||
release = "2011-03-23",
|
release = "2011-05-05",
|
||||||
author = "Mike Pall",
|
author = "Mike Pall",
|
||||||
license = "MIT",
|
license = "MIT",
|
||||||
}
|
}
|
||||||
|
@ -9,9 +9,9 @@
|
|||||||
local _info = {
|
local _info = {
|
||||||
arch = "ppc",
|
arch = "ppc",
|
||||||
description = "DynASM PPC module",
|
description = "DynASM PPC module",
|
||||||
version = "1.2.2",
|
version = "1.3.0",
|
||||||
vernum = 10202,
|
vernum = 10300,
|
||||||
release = "2011-01-09",
|
release = "2011-05-05",
|
||||||
author = "Mike Pall",
|
author = "Mike Pall",
|
||||||
license = "MIT",
|
license = "MIT",
|
||||||
}
|
}
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#define DASM_IDENT "DynASM 1.2.2"
|
#define DASM_IDENT "DynASM 1.3.0"
|
||||||
#define DASM_VERSION 10202 /* 1.2.2 */
|
#define DASM_VERSION 10300 /* 1.3.0 */
|
||||||
|
|
||||||
#ifndef Dst_DECL
|
#ifndef Dst_DECL
|
||||||
#define Dst_DECL dasm_State **Dst
|
#define Dst_DECL dasm_State **Dst
|
||||||
|
@ -11,9 +11,9 @@ local x64 = x64
|
|||||||
local _info = {
|
local _info = {
|
||||||
arch = x64 and "x64" or "x86",
|
arch = x64 and "x64" or "x86",
|
||||||
description = "DynASM x86/x64 module",
|
description = "DynASM x86/x64 module",
|
||||||
version = "1.2.2",
|
version = "1.3.0",
|
||||||
vernum = 10202,
|
vernum = 10300,
|
||||||
release = "2011-01-09",
|
release = "2011-05-05",
|
||||||
author = "Mike Pall",
|
author = "Mike Pall",
|
||||||
license = "MIT",
|
license = "MIT",
|
||||||
}
|
}
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
local _info = {
|
local _info = {
|
||||||
name = "DynASM",
|
name = "DynASM",
|
||||||
description = "A dynamic assembler for code generation engines",
|
description = "A dynamic assembler for code generation engines",
|
||||||
version = "1.2.2",
|
version = "1.3.0",
|
||||||
vernum = 10202,
|
vernum = 10300,
|
||||||
release = "2011-01-09",
|
release = "2011-05-05",
|
||||||
author = "Mike Pall",
|
author = "Mike Pall",
|
||||||
url = "http://luajit.org/dynasm.html",
|
url = "http://luajit.org/dynasm.html",
|
||||||
license = "MIT",
|
license = "MIT",
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
majver=2
|
majver=2
|
||||||
minver=0
|
minver=0
|
||||||
relver=0
|
relver=0
|
||||||
version=${majver}.${minver}.${relver}-beta6
|
version=${majver}.${minver}.${relver}-beta7
|
||||||
abiver=5.1
|
abiver=5.1
|
||||||
|
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
** This file has been pre-processed with DynASM.
|
** This file has been pre-processed with DynASM.
|
||||||
** http://luajit.org/dynasm.html
|
** http://luajit.org/dynasm.html
|
||||||
** DynASM version 1.2.2, DynASM arm version 1.2.2
|
** DynASM version 1.3.0, DynASM arm version 1.3.0
|
||||||
** DO NOT EDIT! The original file is in "buildvm_arm.dasc".
|
** DO NOT EDIT! The original file is in "buildvm_arm.dasc".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if DASM_VERSION != 10202
|
#if DASM_VERSION != 10300
|
||||||
#error "Version mismatch between DynASM and included encoding engine"
|
#error "Version mismatch between DynASM and included encoding engine"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
** This file has been pre-processed with DynASM.
|
** This file has been pre-processed with DynASM.
|
||||||
** http://luajit.org/dynasm.html
|
** http://luajit.org/dynasm.html
|
||||||
** DynASM version 1.2.2, DynASM ppc version 1.2.2
|
** DynASM version 1.3.0, DynASM ppc version 1.3.0
|
||||||
** DO NOT EDIT! The original file is in "buildvm_ppc.dasc".
|
** DO NOT EDIT! The original file is in "buildvm_ppc.dasc".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if DASM_VERSION != 10202
|
#if DASM_VERSION != 10300
|
||||||
#error "Version mismatch between DynASM and included encoding engine"
|
#error "Version mismatch between DynASM and included encoding engine"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
** This file has been pre-processed with DynASM.
|
** This file has been pre-processed with DynASM.
|
||||||
** http://luajit.org/dynasm.html
|
** http://luajit.org/dynasm.html
|
||||||
** DynASM version 1.2.2, DynASM x64 version 1.2.2
|
** DynASM version 1.3.0, DynASM x64 version 1.3.0
|
||||||
** DO NOT EDIT! The original file is in "buildvm_x86.dasc".
|
** DO NOT EDIT! The original file is in "buildvm_x86.dasc".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if DASM_VERSION != 10202
|
#if DASM_VERSION != 10300
|
||||||
#error "Version mismatch between DynASM and included encoding engine"
|
#error "Version mismatch between DynASM and included encoding engine"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
** This file has been pre-processed with DynASM.
|
** This file has been pre-processed with DynASM.
|
||||||
** http://luajit.org/dynasm.html
|
** http://luajit.org/dynasm.html
|
||||||
** DynASM version 1.2.2, DynASM x64 version 1.2.2
|
** DynASM version 1.3.0, DynASM x64 version 1.3.0
|
||||||
** DO NOT EDIT! The original file is in "buildvm_x86.dasc".
|
** DO NOT EDIT! The original file is in "buildvm_x86.dasc".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if DASM_VERSION != 10202
|
#if DASM_VERSION != 10300
|
||||||
#error "Version mismatch between DynASM and included encoding engine"
|
#error "Version mismatch between DynASM and included encoding engine"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
** This file has been pre-processed with DynASM.
|
** This file has been pre-processed with DynASM.
|
||||||
** http://luajit.org/dynasm.html
|
** http://luajit.org/dynasm.html
|
||||||
** DynASM version 1.2.2, DynASM x86 version 1.2.2
|
** DynASM version 1.3.0, DynASM x86 version 1.3.0
|
||||||
** DO NOT EDIT! The original file is in "buildvm_x86.dasc".
|
** DO NOT EDIT! The original file is in "buildvm_x86.dasc".
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if DASM_VERSION != 10202
|
#if DASM_VERSION != 10300
|
||||||
#error "Version mismatch between DynASM and included encoding engine"
|
#error "Version mismatch between DynASM and included encoding engine"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -26,12 +26,12 @@
|
|||||||
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
||||||
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
||||||
#ifdef LUA_XROOT
|
#ifdef LUA_XROOT
|
||||||
#define LUA_JDIR LUA_XROOT "share/luajit-2.0.0-beta6/"
|
#define LUA_JDIR LUA_XROOT "share/luajit-2.0.0-beta7/"
|
||||||
#define LUA_XPATH \
|
#define LUA_XPATH \
|
||||||
";" LUA_XROOT "share/lua/5.1/?.lua;" LUA_XROOT "share/lua/5.1/?/init.lua"
|
";" LUA_XROOT "share/lua/5.1/?.lua;" LUA_XROOT "share/lua/5.1/?/init.lua"
|
||||||
#define LUA_XCPATH LUA_XROOT "lib/lua/5.1/?.so;"
|
#define LUA_XCPATH LUA_XROOT "lib/lua/5.1/?.so;"
|
||||||
#else
|
#else
|
||||||
#define LUA_JDIR LUA_ROOT "share/luajit-2.0.0-beta6/"
|
#define LUA_JDIR LUA_ROOT "share/luajit-2.0.0-beta7/"
|
||||||
#define LUA_XPATH
|
#define LUA_XPATH
|
||||||
#define LUA_XCPATH
|
#define LUA_XCPATH
|
||||||
#endif
|
#endif
|
||||||
|
@ -30,9 +30,9 @@
|
|||||||
|
|
||||||
#include "lua.h"
|
#include "lua.h"
|
||||||
|
|
||||||
#define LUAJIT_VERSION "LuaJIT 2.0.0-beta6"
|
#define LUAJIT_VERSION "LuaJIT 2.0.0-beta7"
|
||||||
#define LUAJIT_VERSION_NUM 20000 /* Version 2.0.0 = 02.00.00. */
|
#define LUAJIT_VERSION_NUM 20000 /* Version 2.0.0 = 02.00.00. */
|
||||||
#define LUAJIT_VERSION_SYM luaJIT_version_2_0_0_beta6
|
#define LUAJIT_VERSION_SYM luaJIT_version_2_0_0_beta7
|
||||||
#define LUAJIT_COPYRIGHT "Copyright (C) 2005-2011 Mike Pall"
|
#define LUAJIT_COPYRIGHT "Copyright (C) 2005-2011 Mike Pall"
|
||||||
#define LUAJIT_URL "http://luajit.org/"
|
#define LUAJIT_URL "http://luajit.org/"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user