Mike Pall
d0b48ec996
Merge branch 'master' into v2.1
2013-10-14 19:34:06 +02:00
Mike Pall
5d25645a21
FFI: Rehash finalizer table after GC cycle, if needed.
2013-10-14 19:31:24 +02:00
Mike Pall
4ccb2dd3bb
Merge branch 'master' into v2.1
2013-10-10 14:34:39 +02:00
Mike Pall
3cdeb54a24
Check for MAP_32BIT presence instead of checking for Linux.
2013-10-10 14:34:04 +02:00
Mike Pall
1837d07082
Compile BC_TSETM, e.g. {1,2,3,f()}.
2013-10-09 23:51:30 +02:00
Mike Pall
e6e760ca9f
Compile getfenv(0).
2013-10-09 20:34:40 +02:00
Mike Pall
88c7785b87
FFI: Compile lightuserdata to void * conversion.
2013-10-09 17:23:08 +02:00
Mike Pall
c8cfca0557
Add table.new().
2013-10-09 17:02:01 +02:00
Mike Pall
47df3ae513
Properly fix loading of embedded bytecode.
2013-09-20 11:36:33 +02:00
Mike Pall
54af4e7c76
Fix loading of embedded bytecode.
2013-09-19 18:08:04 +02:00
Mike Pall
eec06a0e3b
Fix profiler/hook interaction.
2013-09-18 15:27:28 +02:00
Mike Pall
a51b8bf6b4
Fix build with profiler but without JIT compiler.
2013-09-18 15:17:39 +02:00
Mike Pall
b30a789ab8
Protect g->hookmask with lock when using profiler thread.
2013-09-16 11:23:10 +02:00
Mike Pall
8201fda2fc
Merge branch 'master' into v2.1
2013-09-14 12:56:37 +02:00
Mike Pall
474bb21af1
Fix ABC elimination.
2013-09-14 12:52:51 +02:00
Mike Pall
da1456584b
Merge branch 'master' into v2.1
2013-09-13 00:35:27 +02:00
Mike Pall
f1e7a4477c
Fix snapshot restore for exit to function header.
2013-09-13 00:33:58 +02:00
Mike Pall
5f24b1d6d6
Merge branch 'master' into v2.1
2013-09-12 12:51:48 +02:00
Mike Pall
1f7b326217
DynASM: Emit #line <n> <file> instead of #<n> <file>.
2013-09-12 12:46:28 +02:00
Mike Pall
0953b9a72d
Fix profiler stack dump for string chunks.
2013-09-11 23:51:46 +02:00
Mike Pall
1f2eff728b
Fix -jp=a mode.
2013-09-10 19:21:10 +02:00
Mike Pall
483f823ea4
Low-overhead profiler, part 7: console ports.
2013-09-10 01:25:33 +02:00
Mike Pall
803d4ddf0c
Fix non-FFI build.
2013-09-10 00:47:28 +02:00
Mike Pall
7dc6750eb3
Fix PS3 build.
2013-09-10 00:42:42 +02:00
Mike Pall
31e7cd1c76
Low-overhead profiler, part 6: documentation.
2013-09-10 00:06:17 +02:00
Mike Pall
29078518c1
Add -jp=fl mode and minor fixes.
2013-09-10 00:02:20 +02:00
Mike Pall
2befb8b1de
Low-overhead profiler, part 5: add annotation mode for -jp.
2013-09-09 04:32:31 +02:00
Mike Pall
1fd2048c8d
Switch from -jp=n<top_n> to -jp=m<min_pct> as a threshold.
2013-09-09 04:26:12 +02:00
Mike Pall
cb336995a8
Merge branch 'master' into v2.1
2013-09-08 13:12:33 +02:00
Mike Pall
782787f1fa
FFI/x64: Fix passing of vector arguments to calls.
2013-09-08 13:11:02 +02:00
Mike Pall
0d41601e76
Merge branch 'master' into v2.1
2013-09-08 03:10:47 +02:00
Mike Pall
93c2b939bd
FFI: Fix argument checks for ffi.string().
2013-09-08 03:09:39 +02:00
Mike Pall
a13b9206dc
Load jit.util module on demand (saves 1 KB).
2013-09-08 03:01:00 +02:00
Mike Pall
d1194a82eb
Low-overhead profiler, part 4: JIT compiler support.
2013-09-08 02:53:23 +02:00
Mike Pall
d3d30d389b
Add notice when no samples were collected by -jp.
2013-09-08 02:50:48 +02:00
Mike Pall
f8e36535f7
Fix string.format("%#X", 1).
2013-09-03 16:11:39 +02:00
Mike Pall
f8cecffbbf
Merge branch 'master' into v2.1
2013-09-03 16:02:54 +02:00
Mike Pall
b6ec7c7c86
Fix quoting in xedkbuild.bat.
2013-09-03 16:02:33 +02:00
Mike Pall
7873c8dbf7
Recent GCC versions need more memory.
2013-09-03 15:55:37 +02:00
Mike Pall
fffe75a03b
Fix frame traversal for backtraces.
2013-09-03 15:53:21 +02:00
Mike Pall
a4fa4dcfdf
Install new jit.* modules, too.
2013-09-02 11:34:26 +02:00
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