diff options
| author | Mike Pall <mike> | 2020-10-12 16:18:02 +0200 |
|---|---|---|
| committer | Mike Pall <mike> | 2020-10-12 16:18:02 +0200 |
| commit | 1d8b747c161db457e032a023ebbff511f5de5ec2 (patch) | |
| tree | 7254328c720b104f5d5b4bd8321cfcb18c6fb6ce /src | |
| parent | 675e08cf069725a004284b4e1e67fbf0e8fcb4dd (diff) | |
| parent | 050466552bf7eb8b7944aa52c93b45326ae14d7a (diff) | |
| download | luajit-1d8b747c161db457e032a023ebbff511f5de5ec2.tar.gz luajit-1d8b747c161db457e032a023ebbff511f5de5ec2.tar.bz2 luajit-1d8b747c161db457e032a023ebbff511f5de5ec2.zip | |
Merge branch 'master' into v2.1
Diffstat (limited to 'src')
| -rw-r--r-- | src/jit/dump.lua | 2 | ||||
| -rw-r--r-- | src/lib_base.c | 4 | ||||
| -rw-r--r-- | src/lj_alloc.c | 6 | ||||
| -rw-r--r-- | src/lua.h | 2 | ||||
| -rw-r--r-- | src/luajit.h | 6 |
5 files changed, 10 insertions, 10 deletions
diff --git a/src/jit/dump.lua b/src/jit/dump.lua index 06d1e258..d3425bda 100644 --- a/src/jit/dump.lua +++ b/src/jit/dump.lua | |||
| @@ -614,7 +614,7 @@ local function dump_texit(tr, ex, ngpr, nfpr, ...) | |||
| 614 | out:write("---- TRACE ", tr, " exit ", ex, "\n") | 614 | out:write("---- TRACE ", tr, " exit ", ex, "\n") |
| 615 | if dumpmode.X then | 615 | if dumpmode.X then |
| 616 | local regs = {...} | 616 | local regs = {...} |
| 617 | if jit.arch == "x64" then | 617 | if jit.arch:sub(-2) == "64" then |
| 618 | for i=1,ngpr do | 618 | for i=1,ngpr do |
| 619 | out:write(format(" %016x", regs[i])) | 619 | out:write(format(" %016x", regs[i])) |
| 620 | if i % 4 == 0 then out:write("\n") end | 620 | if i % 4 == 0 then out:write("\n") end |
diff --git a/src/lib_base.c b/src/lib_base.c index eb604538..c8409042 100644 --- a/src/lib_base.c +++ b/src/lib_base.c | |||
| @@ -504,8 +504,8 @@ LJLIB_CF(print) | |||
| 504 | lua_gettable(L, LUA_GLOBALSINDEX); | 504 | lua_gettable(L, LUA_GLOBALSINDEX); |
| 505 | tv = L->top-1; | 505 | tv = L->top-1; |
| 506 | } | 506 | } |
| 507 | shortcut = (tvisfunc(tv) && funcV(tv)->c.ffid == FF_tostring) | 507 | shortcut = (tvisfunc(tv) && funcV(tv)->c.ffid == FF_tostring) && |
| 508 | && !gcrefu(basemt_it(G(L), LJ_TNUMX)); | 508 | !gcrefu(basemt_it(G(L), LJ_TNUMX)); |
| 509 | for (i = 0; i < nargs; i++) { | 509 | for (i = 0; i < nargs; i++) { |
| 510 | cTValue *o = &L->base[i]; | 510 | cTValue *o = &L->base[i]; |
| 511 | const char *str; | 511 | const char *str; |
diff --git a/src/lj_alloc.c b/src/lj_alloc.c index 5de60b82..21fb7af5 100644 --- a/src/lj_alloc.c +++ b/src/lj_alloc.c | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | ** | 6 | ** |
| 7 | ** This is a version (aka dlmalloc) of malloc/free/realloc written by | 7 | ** This is a version (aka dlmalloc) of malloc/free/realloc written by |
| 8 | ** Doug Lea and released to the public domain, as explained at | 8 | ** Doug Lea and released to the public domain, as explained at |
| 9 | ** http://creativecommons.org/licenses/publicdomain. | 9 | ** https://creativecommons.org/licenses/publicdomain. |
| 10 | ** | 10 | ** |
| 11 | ** * Version pre-2.8.4 Wed Mar 29 19:46:29 2006 (dl at gee) | 11 | ** * Version pre-2.8.4 Wed Mar 29 19:46:29 2006 (dl at gee) |
| 12 | ** | 12 | ** |
| @@ -16,8 +16,8 @@ | |||
| 16 | ** If you want to use dlmalloc in another project, you should get | 16 | ** If you want to use dlmalloc in another project, you should get |
| 17 | ** the original from: ftp://gee.cs.oswego.edu/pub/misc/ | 17 | ** the original from: ftp://gee.cs.oswego.edu/pub/misc/ |
| 18 | ** For thread-safe derivatives, take a look at: | 18 | ** For thread-safe derivatives, take a look at: |
| 19 | ** - ptmalloc: http://www.malloc.de/ | 19 | ** - ptmalloc: https://www.malloc.de/ |
| 20 | ** - nedmalloc: http://www.nedprod.com/programs/portable/nedmalloc/ | 20 | ** - nedmalloc: https://www.nedprod.com/programs/portable/nedmalloc/ |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #define lj_alloc_c | 23 | #define lj_alloc_c |
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.h,v 1.218.1.5 2008/08/06 13:30:12 roberto Exp $ | 2 | ** $Id: lua.h,v 1.218.1.5 2008/08/06 13:30:12 roberto Exp $ |
| 3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
| 4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) | 4 | ** Lua.org, PUC-Rio, Brazil (https://www.lua.org) |
| 5 | ** See Copyright Notice at the end of this file | 5 | ** See Copyright Notice at the end of this file |
| 6 | */ | 6 | */ |
| 7 | 7 | ||
diff --git a/src/luajit.h b/src/luajit.h index 600031a1..d569fd40 100644 --- a/src/luajit.h +++ b/src/luajit.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** LuaJIT -- a Just-In-Time Compiler for Lua. http://luajit.org/ | 2 | ** LuaJIT -- a Just-In-Time Compiler for Lua. https://luajit.org/ |
| 3 | ** | 3 | ** |
| 4 | ** Copyright (C) 2005-2020 Mike Pall. All rights reserved. | 4 | ** Copyright (C) 2005-2020 Mike Pall. All rights reserved. |
| 5 | ** | 5 | ** |
| @@ -22,7 +22,7 @@ | |||
| 22 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | 22 | ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 23 | ** SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 23 | ** SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 24 | ** | 24 | ** |
| 25 | ** [ MIT license: http://www.opensource.org/licenses/mit-license.php ] | 25 | ** [ MIT license: https://www.opensource.org/licenses/mit-license.php ] |
| 26 | */ | 26 | */ |
| 27 | 27 | ||
| 28 | #ifndef _LUAJIT_H | 28 | #ifndef _LUAJIT_H |
| @@ -34,7 +34,7 @@ | |||
| 34 | #define LUAJIT_VERSION_NUM 20100 /* Version 2.1.0 = 02.01.00. */ | 34 | #define LUAJIT_VERSION_NUM 20100 /* Version 2.1.0 = 02.01.00. */ |
| 35 | #define LUAJIT_VERSION_SYM luaJIT_version_2_1_0_beta3 | 35 | #define LUAJIT_VERSION_SYM luaJIT_version_2_1_0_beta3 |
| 36 | #define LUAJIT_COPYRIGHT "Copyright (C) 2005-2020 Mike Pall" | 36 | #define LUAJIT_COPYRIGHT "Copyright (C) 2005-2020 Mike Pall" |
| 37 | #define LUAJIT_URL "http://luajit.org/" | 37 | #define LUAJIT_URL "https://luajit.org/" |
| 38 | 38 | ||
| 39 | /* Modes for luaJIT_setmode. */ | 39 | /* Modes for luaJIT_setmode. */ |
| 40 | #define LUAJIT_MODE_MASK 0x00ff | 40 | #define LUAJIT_MODE_MASK 0x00ff |
