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 |
|
Mike Pall
|
5d096dcfde
|
FFI: Add ffi.istype() function.
|
2011-04-20 01:53:26 +02:00 |
|
Mike Pall
|
31e0774a9e
|
FFI: Fix cdata finalization.
|
2011-04-13 21:37:54 +02:00 |
|
Mike Pall
|
3b6f37dd2c
|
FFI: Add ctype metamethods and ffi.metatype().
|
2011-04-12 19:16:39 +02:00 |
|
Mike Pall
|
a226fb4cc7
|
FFI: Force snapshot after C call to preserve semantics.
|
2011-03-15 14:56:42 +01:00 |
|
Mike Pall
|
bfce3c1127
|
DUALNUM: Handle integer type in JIT compiler.
|
2011-03-10 01:57:24 +01:00 |
|
Mike Pall
|
3f26e3a89d
|
FFI: Fix and optimize recording of cdata[cdata].
|
2011-03-10 01:41:58 +01:00 |
|
Mike Pall
|
e1aa8d0d97
|
FFI: Fix compiled ffi.string() semantics.
|
2011-02-28 19:47:51 +01:00 |
|
Mike Pall
|
a720db409d
|
FFI: Record calls to functions with void results.
|
2011-02-23 00:28:49 +01:00 |
|
Mike Pall
|
34bcf6378b
|
FFI: Fix recording of userdata conversions.
|
2011-02-20 02:13:32 +01:00 |
|
Mike Pall
|
cf88c43dd6
|
FFI: Fix 64 bit to 32 bit truncations on x64.
|
2011-02-20 00:18:46 +01:00 |
|
Mike Pall
|
32eaa48c79
|
FFI: Fix recording of ffi.copy() and ffi.fill().
|
2011-02-19 23:04:16 +01:00 |
|
Mike Pall
|
c39ca7c35b
|
FFI: Record ffi.abi().
|
2011-02-08 00:09:33 +01:00 |
|
Mike Pall
|
7a37b93f1b
|
FFI: Record ffi.copy() and ffi.fill().
|
2011-02-07 23:49:27 +01:00 |
|
Mike Pall
|
fb53d4aeb7
|
FFI: Fix recording of pointer arithmetic.
|
2011-02-07 23:42:51 +01:00 |
|
Mike Pall
|
51e8fe9cf0
|
FFI: Allow cdata types for integer arguments of ffi.* functions.
|
2011-02-07 17:13:14 +01:00 |
|
Mike Pall
|
8da287cab8
|
FFI: Fix handling of enum arguments to C calls.
|
2011-02-07 16:41:51 +01:00 |
|
Mike Pall
|
bf58160b7a
|
FFI: Simplify and fix tonumber() for cdata objects.
|
2011-02-06 12:23:58 +01:00 |
|
Mike Pall
|
26bb0fe24b
|
FFI: Limit number of arguments for recorded calls.
|
2011-02-05 23:01:10 +01:00 |
|
Mike Pall
|
26fadcd25b
|
FFI: Record simple C function calls.
Only handles cdecl and fixarg C functions.
Doesn't handle pass-by-value aggregates.
Doesn't handle 64 bit args/returns on 32 bit CPUs.
|
2011-02-05 21:50:15 +01:00 |
|
Mike Pall
|
bf05209e14
|
FFI: Optimize snapshots for cdata comparisons.
|
2011-02-05 18:54:08 +01:00 |
|
Mike Pall
|
14f5103764
|
FFI: Record C library namespace lookups.
|
2011-02-05 14:16:16 +01:00 |
|