Commit Graph

1840 Commits

Author SHA1 Message Date
Mike Pall
16f910b4a8 ARM: Fix write barrier check in BC_USETS. 2014-12-27 06:03:06 +01:00
Mike Pall
54826563b2 ARM: Fix excess stack growth in interpreter. 2014-12-27 05:59:16 +01:00
Mike Pall
1b774d9da3 Fix corner case in string to number conversion. 2014-12-27 05:46:51 +01:00
Mike Pall
10caad0261 x86: Fix argument checks for ipairs() iterator. 2014-12-20 01:05:06 +01:00
Mike Pall
c6e69249dd Gracefully handle lua_error() for a suspended coroutine.
Thanks to Sergei Zhirikov.
2014-12-15 01:55:45 +01:00
Mike Pall
6fddb9bc2e Avoid error messages when building with Clang. 2014-12-08 02:07:05 +01:00
Mike Pall
3f2e4ec699 DynASM/ARM: Fix description shown for multi-element templates. 2014-12-03 14:09:17 +01:00
Mike Pall
c75c62b489 Fix snapshot #0 handling for traces with a stack check on entry. 2014-11-28 20:20:12 +01:00
Mike Pall
a31c317fb5 FFI: No meta fallback when indexing pointer to incomplete struct. 2014-11-03 21:34:24 +01:00
Mike Pall
6d0654d3ec Fix fused constant loads under high register pressure. 2014-10-08 22:04:51 +02:00
Mike Pall
4846a714a9 Fix DragonFly build (unsupported).
Thanks to Robin Hahling, Alex Hornung and Joris Giovannangeli.
2014-10-07 16:17:29 +02:00
Mike Pall
cb886b5817 DynASM/x86: Add fldenv, f[n]stenv, fxsave, fxrstor opcodes.
Thanks to Cosmin Apreutesei.
2014-09-22 13:44:28 +02:00
Mike Pall
ae7d4d5ad6 DynASM/x86: Add shld/shrd opcodes.
Thanks to Peter Cawley.
2014-09-21 18:03:47 +02:00
Mike Pall
41156fe1cd FFI: Fix initialization of unions of subtypes.
Thanks to Peter Colberg.
2014-09-08 23:37:22 +02:00
Mike Pall
247ead6718 FFI: Fix for cdata vs. non-cdata arithmetic and comparisons.
Thanks to Roman Tsisyk.
2014-09-08 23:28:02 +02:00
Mike Pall
66515a054c FFI: Fix __index/__newindex metamethod resolution for ctypes. 2014-08-05 20:15:52 +02:00
Mike Pall
59d290656a Invalidate backpropagation cache after DCE. 2014-07-24 13:08:02 +02:00
Mike Pall
f948fe0c27 FFI: Fix compilation of reference field access. 2014-07-04 18:17:32 +02:00
Mike Pall
a6c34b85f7 Fix ABC elimination. 2014-07-01 17:53:40 +02:00
Mike Pall
bb5dfbb034 Typo. 2014-06-13 11:16:39 +02:00
Mike Pall
5e7b9bb8ed FFI: Fix frame traversal for backtraces with FFI callbacks. 2014-06-12 10:58:22 +02:00
Mike Pall
7dc9e5ade4 x86: lj_math_random_step() clobbers XMM regs on OSX Clang. 2014-06-11 22:44:08 +02:00
Mike Pall
e7c6a1afa2 Fix debug info for main chunk of stripped bytecode. 2014-06-11 10:19:53 +02:00
Mike Pall
7fb503dc86 Fix compatibility issues with Illumos.
Thanks to Theo Schlossnagle.
2014-05-28 15:46:26 +02:00
Mike Pall
49d3157e14 PPC: Fix red zone overflow in machine code generation. 2014-05-27 15:58:04 +02:00
Mike Pall
fc76d540a0 x86: Fix code generation for unused result of math.random(). 2014-05-27 15:25:34 +02:00
Mike Pall
e15765186c Fix FOLD rule for string.sub(s, ...) == k. 2014-05-20 11:41:32 +02:00
Mike Pall
fe288e7b83 FFI: Fix recording of indexing a struct pointer ctype object itself. 2014-05-15 17:28:08 +02:00
Mike Pall
8a38af2f99 Fix FOLD rule for STRREF of SNEW. 2014-05-15 17:03:28 +02:00
Mike Pall
624260f831 Fix frame traversal while searching for error function. 2014-05-12 14:35:30 +02:00
Mike Pall
2917288019 x64: Workaround for MSVC build issue. 2014-05-06 14:47:37 +02:00
Mike Pall
ef82bb014a FFI: Another fix for cdata equality comparisons. 2014-05-06 14:31:31 +02:00
Mike Pall
7a39be0ac4 Add PS Vita port.
Thanks to Anton Stenmark.
2014-04-27 00:09:45 +02:00
Mike Pall
2715fe3aee Prevent GC estimate miscalculation due to buffer growth. 2014-04-22 11:26:52 +02:00
Mike Pall
18309b0a25 Prevent adding side traces for stack checks. 2014-04-22 09:57:39 +02:00
Mike Pall
f3374b5266 x64: Allow building with LUAJIT_USE_SYSMALLOC and LUAJIT_USE_VALGRIND.
Valgrind 3.9 killed MAP_32BIT support. Ugh. So now we have to rely on
undocumented behavior where Valgrind always allocates from the bottom
of memory. Alas, such a binary won't run properly without Valgrind.
2014-04-21 22:26:46 +02:00
Mike Pall
65626eac23 PPC: Don't use mcrxr on PPE. 2014-04-17 10:30:35 +02:00
Mike Pall
cc5075e845 FFI: Fix cdata equality comparison against other Lua types. 2014-04-08 16:53:41 +02:00
Mike Pall
4ed3ee1f04 FFI: Fix cdata equality comparison against strings. 2014-04-08 12:10:51 +02:00
Mike Pall
111b2e8711 Fix top slot calculation for snapshots with continuations. 2014-04-03 21:45:57 +02:00
Mike Pall
b293063eb8 Correct fix for reuse of SCEV results in FORL. 2014-04-01 10:07:15 +02:00
Mike Pall
19b69f21d4 FFI: Allow non-scalar cdata to be compared for equality by address. 2014-04-01 00:30:22 +02:00
Mike Pall
c735293921 FFI: Fix pseudo type conversions for type punning. 2014-03-28 19:09:45 +01:00
Mike Pall
095344ce7c Fix check for reuse of SCEV results in FORL. 2014-03-27 23:29:30 +01:00
Mike Pall
c03be1210c x86/x64: Avoid use of SAHF instruction. 2014-03-27 11:38:07 +01:00
Mike Pall
1ca794e0b0 Fix compiler warnings. 2014-03-24 09:41:33 +01:00
Mike Pall
880ca300e8 RELEASE LuaJIT-2.0.3 2014-03-12 13:24:07 +01:00
Mike Pall
30c57579ad Update changelog. 2014-03-12 12:54:00 +01:00
Mike Pall
80efb07750 DynASM: Emit version check after .arch directive. 2014-03-06 17:54:48 +01:00
Mike Pall
416abff90d Don't access dangling reference to reallocated IR. 2014-03-06 00:39:37 +01:00