Mike Pall
|
93c2b939bd
|
FFI: Fix argument checks for ffi.string().
|
2013-09-08 03:09:39 +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
|
7ef2b55fc0
|
FFI: Fix unroll limit for ffi.fill().
|
2013-05-23 22:17:45 +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
|
5d6db413ae
|
FFI: Fix tailcall in lowest frame to C function with bool result.
|
2013-05-02 02:04:41 +02:00 |
|
Mike Pall
|
4a44c4ff69
|
Bump copyright date to 2013.
|
2013-02-11 12:54:48 +01:00 |
|
Mike Pall
|
4e5ef81b86
|
FFI: Fix recording of bool call result check on x86/x64.
|
2012-11-06 17:05:37 +01:00 |
|
Mike Pall
|
0b55e05d06
|
FFI: Compile ffi.gc().
|
2012-10-10 18:56:16 +02:00 |
|
Mike Pall
|
1c626112a0
|
FFI: Compile ffi.sizeof(), ffi.alignof() and ffi.offsetof().
|
2012-10-10 18:16:18 +02:00 |
|
Mike Pall
|
4a97faef7e
|
FFI: Compile array/struct copies.
|
2012-10-09 21:51:30 +02:00 |
|
Mike Pall
|
a7d1dbacb1
|
FFI: Optimize ffi.copy() and ffi.fill().
|
2012-10-09 21:49:57 +02:00 |
|
Mike Pall
|
da682b0e91
|
FFI: Add support for copy constructors.
|
2012-10-08 17:15:28 +02:00 |
|
Mike Pall
|
e013206dd8
|
FFI: ctypeid of ctype object is immutable.
|
2012-09-27 14:48:13 +02:00 |
|
Mike Pall
|
21cea85d92
|
FFI: Always resolve metamethods for pointers to structs.
|
2012-09-08 21:03:40 +02:00 |
|
Mike Pall
|
90ec1f90d0
|
Fix recording of ctype() constructors for pointers.
|
2012-09-03 21:08:37 +02:00 |
|
Mike Pall
|
2717623e3a
|
FFI: Compile ffi.typeof(cdata).
Thanks to Robert G. Jakabosky.
|
2012-08-08 21:01:36 +02:00 |
|
Mike Pall
|
e2373c1538
|
FFI: Compile assignments from enums.
Thanks to Robert G. Jakabosky.
|
2012-08-08 20:36:31 +02:00 |
|
Mike Pall
|
3636a720a5
|
Turn loads from immutable upvalues into constants.
|
2012-07-20 18:54:52 +02:00 |
|
Mike Pall
|
4d9c29a78c
|
FFI: Box all accessed or returned enums.
|
2012-07-17 22:22:07 +02:00 |
|
Mike Pall
|
bd782cedd5
|
Bump some limits to accomodate SINK pass.
|
2012-07-04 21:15:15 +02:00 |
|
Mike Pall
|
17d3fc47f3
|
Avoid pesky compiler warnings about C++ keywords (eh?).
|
2012-07-03 13:19:32 +02:00 |
|
Mike Pall
|
dd9e7a4608
|
Fix cdecl string parsing during recording.
|
2012-06-28 20:17:08 +02:00 |
|
Mike Pall
|
8b71ab1080
|
FFI: Check for __new metamethod when calling a constructor.
|
2012-06-20 18:28:25 +02:00 |
|
Mike Pall
|
e75561b70e
|
FFI: Fix address calculation for refs.
Fixes bug introduced in commit 5032e6d8 .
|
2012-06-09 00:23:27 +02:00 |
|
Mike Pall
|
5032e6d87f
|
FFI: Use CNEWI/FLOAD to box/access ffi.new("int", x) (for varargs).
|
2012-06-04 15:39:16 +02:00 |
|
Mike Pall
|
fa2572da6c
|
FFI: Convert io.* file handle to FILE * pointer (but as a void *).
|
2012-05-29 12:09:18 +02:00 |
|
Mike Pall
|
3a43ea5084
|
FFI: Equality comparisons never raise an error.
|
2012-05-23 22:20:27 +02:00 |
|
Mike Pall
|
6e5c872eb7
|
FFI: Fix recording of test for bool result of call.
|
2012-05-09 16:25:51 +02:00 |
|
Mike Pall
|
7d3954036c
|
FFI: Don't record test for bool result of call, if ignored.
|
2012-05-08 18:59:51 +02:00 |
|
Mike Pall
|
d4a09431c8
|
ARM/FFI: Invoke SPLIT pass for double args in FFI call.
|
2012-04-26 23:46:23 +02:00 |
|
Mike Pall
|
ac6b678d4c
|
FFI: Fix result type of pointer difference.
|
2012-04-17 12:54:38 +02:00 |
|
Mike Pall
|
10ef109eef
|
Bump copyright date to 2012.
|
2012-01-23 22:42:42 +01:00 |
|
Mike Pall
|
63981436f7
|
Fix compiler warning.
|
2011-12-09 15:57:20 +01:00 |
|
Mike Pall
|
e3c7476533
|
FFI: Record ffi.errno().
|
2011-11-26 16:56:09 +01:00 |
|
Mike Pall
|
c142b6c53e
|
FFI: Record C function calls with bool return values.
|
2011-11-25 19:36:35 +01:00 |
|
Mike Pall
|
71d00a56db
|
FFI: Add callback support (for x86/x64).
|
2011-11-14 14:18:25 +01:00 |
|
Mike Pall
|
ae79ff4e53
|
FFI: Resolve __call metamethod for pointers, too.
|
2011-11-14 12:01:48 +01:00 |
|
Mike Pall
|
2dc574d06b
|
FFI: Compile calls to stdcall, fastcall and vararg functions.
|
2011-10-27 01:57:30 +02:00 |
|
Mike Pall
|
0cf8c20be8
|
PPC: Integrate and enable JIT compiler.
|
2011-10-24 16:43:51 +02:00 |
|
Mike Pall
|
bc95d54ec9
|
FFI: Fix call argument and return handling for I8/U8/I16/U16 types.
|
2011-10-13 20:44:31 +02:00 |
|
Mike Pall
|
120c3adbff
|
FFI: Record loads/stores to external variables in namespaces.
|
2011-10-11 20:58:04 +02:00 |
|
Mike Pall
|
4a144625c9
|
FFI: Fix recording of const/enum lookups in namespaces.
|
2011-10-11 11:51:48 +02:00 |
|
Mike Pall
|
d9b518874d
|
FFI: Limit snapshot optimization for cdata comparisons.
|
2011-08-07 21:53:43 +02:00 |
|
Mike Pall
|
d001d7b7ce
|
FFI: Treat function ctypes like pointers in comparisons.
|
2011-07-23 16:29:47 +02:00 |
|
Mike Pall
|
22946f268b
|
FFI: Change tonumber(cdata) semantics. Return nil for non-numbers.
|
2011-06-06 19:56:55 +02:00 |
|
Mike Pall
|
7ad4908a48
|
ARM: Fuse XLOAD/XSTORE operands.
|
2011-06-05 18:59:35 +02:00 |
|
Mike Pall
|
865ec114a7
|
FFI: Fix recording of casts from 32 bit pointers to integers.
|
2011-05-31 21:39:37 +02:00 |
|
Mike Pall
|
effdfda673
|
Move IR_CALL* definitions to lj_ircall.h.
|
2011-05-22 16:28:43 +02:00 |
|
Mike Pall
|
6534152b44
|
Fix compiler warning.
|
2011-05-04 23:45:02 +02:00 |
|
Mike Pall
|
c77ca54564
|
FFI: Compile C function calls with 64 bit args/results in 32 bit mode.
|
2011-04-29 19:40:50 +02:00 |
|