Commit Graph

1548 Commits

Author SHA1 Message Date
Mike Pall
146807b7e8 Merge branch 'master' into v2.1 2013-07-09 17:30:36 +02:00
Mike Pall
519ef0cba7 Add support for multilib distro builds. 2013-07-09 17:30:02 +02:00
Mike Pall
b2a13ddd74 DynASM/x86: Add lock prefix. 2013-06-24 12:20:25 +02:00
Mike Pall
88188d52f7 Merge branch 'master' into v2.1 2013-06-20 16:33:34 +02:00
Mike Pall
053041a9f4 FFI: Add missing GC steps for callback argument conversions. 2013-06-20 16:32:45 +02:00
Mike Pall
edc7f35ab3 Merge branch 'master' into v2.1 2013-06-18 20:10:22 +02:00
Mike Pall
9211a66e0e Improve ULOAD forwarding for open upvalues. 2013-06-18 20:08:55 +02:00
Mike Pall
1fa97bef1f Merge branch 'master' into v2.1 2013-06-03 21:21:45 +02:00
Mike Pall
21af151af2 RELEASE LuaJIT-2.0.2 2013-06-03 21:16:17 +02:00
Mike Pall
742ba5c12c Update changelog. 2013-06-03 20:21:25 +02:00
Mike Pall
e92d64a841 Merge branch 'master' into v2.1 2013-06-03 17:32:09 +02:00
Mike Pall
338e9863c2 PPC: Add plt suffix for external calls from assembler code. 2013-06-03 17:30:35 +02:00
Mike Pall
45f3ee8794 Merge branch 'master' into v2.1 2013-05-29 23:12:09 +02:00
Mike Pall
3eeb7d3aa0 FFI: Preserve intermediate string for const char * conversion.
Otherwise the trailing NUL is lost.
2013-05-29 23:05:05 +02:00
Mike Pall
c5ebfa0c67 Refactor string buffer growth helpers. 2013-05-29 20:17:26 +02:00
Mike Pall
b6882a57da Fix -jdump broken by 2ef2c34d. 2013-05-29 19:59:26 +02:00
Mike Pall
6850d795b6 Minor change to lj_lib_pushcc(). 2013-05-29 14:54:06 +02:00
Mike Pall
26e4287e60 Merge branch 'master' into v2.1 2013-05-25 10:20:46 +02:00
Mike Pall
5a261dd92c Fix compatibility issues with Illumos.
Thanks to Theo Schlossnagle.
2013-05-25 10:18:12 +02:00
Mike Pall
992f7d4b71 FFI: Refactor ffi.gc()/__gc. Compile ffi.gc(cdata, nil), too. 2013-05-24 17:44:55 +02:00
Mike Pall
4c1f9dd0f7 Merge branch 'master' into v2.1 2013-05-24 01:32:10 +02:00
Mike Pall
d686217926 Add missing PHI barrier to string.sub(str, a, b) == kstr FOLD rule. 2013-05-24 01:28:40 +02:00
Mike Pall
f1f7e40318 FFI: Compile VLA/VLS and large cdata allocs with default initialization. 2013-05-24 00:49:02 +02:00
Mike Pall
b3369f3c95 Merge branch 'master' into v2.1 2013-05-23 22:20:07 +02:00
Mike Pall
2c3e80d4fd FFI: Must sink XBAR together with XSTOREs. 2013-05-23 22:15:51 +02:00
Mike Pall
7ef2b55fc0 FFI: Fix unroll limit for ffi.fill(). 2013-05-23 22:17:45 +02:00
Mike Pall
55772e3ad9 Merge branch 'master' into v2.1 2013-05-23 19:58:35 +02:00
Mike Pall
890754ee27 FFI: Insert no-op type conversion for pointer to integer cast. 2013-05-23 19:55:09 +02:00
Mike Pall
38cfb6a1d9 Refactor lj_cdata_newv(). 2013-05-23 18:43:16 +02:00
Mike Pall
6f451c6445 Don't try to reinvent memcpy(). 2013-05-22 22:57:18 +02:00
Mike Pall
82390d1f4f Merge branch 'master' into v2.1 2013-05-18 14:14:06 +02:00
Mike Pall
1593e7750b FFI: Improve error messages for arithmetic and comparison operators. 2013-05-18 14:11:59 +02:00
Mike Pall
e2db3f697c Remove use of printf() in luajit.c. 2013-05-18 13:48:32 +02:00
Mike Pall
fe87736777 Get rid of module() in all internal modules. 2013-05-16 20:34:34 +02:00
Mike Pall
647cc4613f Merge branch 'master' into v2.1 2013-05-16 20:07:53 +02:00
Mike Pall
0f79d4741f Handle calls with max. args in backends even after SPLIT. 2013-05-16 19:59:38 +02:00
Mike Pall
a946f678d5 Merge branch 'master' into v2.1 2013-05-16 14:48:47 +02:00
Mike Pall
1c7650f782 FFI: Fix calling conventions for ARM hard-float EABI.
Properly classify nested (non-transparent) structs.
2013-05-16 14:47:20 +02:00
Mike Pall
2b94827e1d Merge branch 'master' into v2.1 2013-05-16 14:40:22 +02:00
Mike Pall
5dabdb2e70 FFI: Fix calling conventions for 32 bit OSX and iOS simulator.
OSX uses -freg-struct-return, which returns small structs in regs.
Thanks to Adriano Bertucci.
2013-05-16 14:35:00 +02:00
Mike Pall
1a5fd521b8 Add partial support for building with MingW64 GCC 4.8-SEH.
Error handling works, C++ interoperability generally works.
C++ destructors in libs compiled with G++ cause trouble (ok with MSVC).
2013-05-15 18:48:06 +02:00
Mike Pall
fd616caf26 Compile bit.tohex(). 2013-05-15 13:57:35 +02:00
Mike Pall
a86017784e Another fix for bit.tohex(). 2013-05-15 13:54:22 +02:00
Mike Pall
4c39e9ffc8 Compile string.format(). 2013-05-13 21:18:22 +02:00
Mike Pall
09ef8d1077 FFI: Load FFI library on-demand for -jdump. 2013-05-13 21:07:14 +02:00
Mike Pall
acda75ad2c Refactor CCallInfo representation for split arguments. 2013-05-13 19:49:46 +02:00
Mike Pall
23e47f2913 Fix bit.tohex() broken by 7d5acc29. 2013-05-13 19:48:23 +02:00
Mike Pall
2ef2c34d84 Adapt -jdump to unified string.format("%x", -1) behavior. 2013-05-13 19:39:34 +02:00
Mike Pall
2369f5d00a Abstract out default BUFHDR emitter. 2013-05-13 17:04:19 +02:00
Mike Pall
101780c69b Fix compiler warnings. 2013-05-13 12:13:11 +02:00