Commit Graph

1572 Commits

Author SHA1 Message Date
Mike Pall
eca0914d88 Add low-overhead profiler. Part 3: command line interface. 2013-09-02 01:57:56 +02:00
Mike Pall
b186fb835e Add low-overhead profiler. Part 2: low-level Lua API. 2013-09-02 01:55:20 +02:00
Mike Pall
8a9519a5f4 Add internal API to add sub-modules to package.preload. 2013-09-02 01:55:07 +02:00
Mike Pall
4dce22c40d Add low-overhead profiler. Part 1: interpreter, low-level C API. 2013-09-02 01:49:19 +02:00
Mike Pall
19c2dd17db Add common helper for pointer to string formatting. 2013-08-31 19:38:20 +02:00
Mike Pall
517500ba48 Save currently executing lua_State in g->cur_L.
This is only a good approximation due to deficiencies in the design of
the Lua/C API. It indicates _some_ valid state that is/was executing.
Also reorder L->cframe stores to achieve a synchronously consistent state.
2013-08-30 23:38:17 +02:00
Mike Pall
5120240b77 Use g->jit_base for on/off-trace detection. 2013-08-26 18:28:58 +02:00
Mike Pall
b33e96f352 Merge branch 'master' into v2.1 2013-08-22 19:29:42 +02:00
Mike Pall
a6936be814 Fix compiler warning. 2013-08-22 19:29:09 +02:00
Mike Pall
5451089b5b Merge branch 'master' into v2.1 2013-08-17 00:54:49 +02:00
Mike Pall
fd1a8ddb3c Fix argument checks for math.deg()/math.rad(). 2013-08-17 00:50:53 +02:00
Mike Pall
9b14426c09 Merge branch 'master' into v2.1 2013-08-11 13:52:05 +02:00
Mike Pall
362260b24a Fix jit.flush(func|true). 2013-08-11 13:47:35 +02:00
Mike Pall
f5fba48386 Merge branch 'master' into v2.1 2013-08-03 14:24:14 +02:00
Mike Pall
99d588b06a Compatibility fix for old GCC versions. 2013-08-03 14:15:17 +02:00
Mike Pall
92a3cf469c Merge branch 'master' into v2.1 2013-07-31 01:49:58 +02:00
Mike Pall
6a878b0441 ARM: Fix register allocation when rematerializing FPRs. 2013-07-31 01:48:21 +02:00
Mike Pall
96d54789ee Merge branch 'master' into v2.1 2013-07-24 23:50:58 +02:00
Mike Pall
6dc02450d3 FFI: Properly unload loaded DLLs. 2013-07-24 23:49:19 +02:00
Mike Pall
c86f47aba5 Merge branch 'master' into v2.1 2013-07-18 08:53:14 +02:00
Mike Pall
ec96d8b494 DynASM/x64: Add VREG support to mov64.
Thanks to Peter Cawley.
2013-07-18 08:51:32 +02:00
Mike Pall
1ddf5689b5 Fix compiler warning. 2013-07-18 00:39:23 +02:00
Mike Pall
dd44018d66 Merge branch 'master' into v2.1 2013-07-17 11:06:31 +02:00
Mike Pall
9aa5d04137 Fix compilation on NetBSD/x64.
Thanks to Justin Cormack.
2013-07-17 11:04:15 +02:00
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