Commit Graph

885 Commits

Author SHA1 Message Date
Mike Pall
0f55b46b0b Update man page for -b command line option. 2011-06-15 01:32:57 +02:00
Mike Pall
3d1563524f More fixes for the Solaris/x86 build. Thanks to Will Metcalf. 2011-06-14 16:44:20 +02:00
Mike Pall
9cf2cd2a11 Fix bytecode loading on Windows. 2011-06-14 12:47:48 +02:00
Mike Pall
ecab831ebf Add more docs for bytecode load/save feature. 2011-06-14 01:58:19 +02:00
Mike Pall
bcc196eed3 Fix dumping of already stripped functions with debug info. 2011-06-13 03:22:10 +02:00
Mike Pall
0eee70cd4d Add -b command line option to save/list bytecode. 2011-06-13 01:04:23 +02:00
Mike Pall
4994fcc32c Add support for bytecode loading/saving. 2011-06-13 01:04:11 +02:00
Mike Pall
9da94d1355 Add recursive dump option to jit.bc.dump(). 2011-06-12 23:51:13 +02:00
Mike Pall
0c8696dfbf No need for L argument to lj_str_initbuf(). 2011-06-12 21:09:20 +02:00
Mike Pall
287de611a2 FFI: Support __tostring metamethod for pointers to structs, too. 2011-06-11 18:30:22 +02:00
Mike Pall
a58eb604f4 Make .eh_frame section read-write on Solaris. 2011-06-11 15:57:03 +02:00
Mike Pall
27d8d3b5d9 Fix check for missing arguments in string.format(). 2011-06-10 13:47:11 +02:00
Mike Pall
b6a7fc5330 Cleanup prototype flags. 2011-06-09 13:54:40 +02:00
Mike Pall
96cc99bd6a Remove bogus assertion for GC estimate vs. threshold. 2011-06-09 01:34:10 +02:00
Mike Pall
8c32b38ca3 Flatten and compress in-memory debug info (saves ~70%). 2011-06-09 01:27:37 +02:00
Mike Pall
585cf05dbd Move debugging/introspection functionality to lj_debug.c. 2011-06-07 21:37:24 +02:00
Mike Pall
b44ccd4263 Fix compiler warning. 2011-06-07 21:28:31 +02:00
Mike Pall
a0840d2695 FFI: Print NULL pointers as "cdata<... *>: NULL". 2011-06-07 21:10:04 +02:00
Mike Pall
a7ca722dca FFI: Show address pointed to for tostring(pointer). 2011-06-07 20:57:32 +02:00
Mike Pall
51ee3d951e Minor change to bytecode penalty code for consistency. 2011-06-07 20:44:55 +02:00
Mike Pall
f50d8986d8 Fix data-flow analysis for BC_UCLO. 2011-06-07 11:51:04 +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
a48058a791 ARM: Add fast assembler implementation of floor/ceil/trunc. 2011-06-05 23:38:23 +02:00
Mike Pall
a175754ab7 PPC: Add lj_vm_floor which is callable from C. 2011-06-05 23:36:49 +02:00
Mike Pall
7ad4908a48 ARM: Fuse XLOAD/XSTORE operands. 2011-06-05 18:59:35 +02:00
Mike Pall
b88eaa11f3 Add stdint.h replacement for Symbian. Sigh. 2011-06-03 20:21:10 +02:00
Mike Pall
8c5935000d Add narrowing of modulo operator. 2011-06-03 18:48:02 +02:00
Mike Pall
eec28aa9fd Move math helpers to lj_vmmath.c. Add missing log2/exp2 for Symbian. 2011-06-03 17:15:44 +02:00
Mike Pall
77bb8de93d ARM: Disable C++ exception catching on Symbian. 2011-06-03 12:23:43 +02:00
Mike Pall
84e33332a7 ARM: Enable JIT compiler (except for iOS). 2011-06-02 03:19:23 +02:00
Mike Pall
5d82cfd091 ARM: Add ARM-specific assembler backend. 2011-06-02 03:18:26 +02:00
Mike Pall
fff2fb31f9 ARM: Don't generate unaligned XLOADs. 2011-06-02 01:46:23 +02:00
Mike Pall
a770bf3741 Many soft-float-related fixes to SPLIT pass and assembler backend. 2011-06-02 01:24:36 +02:00
Mike Pall
9e153003b4 ARM: Catch C++ exceptions in interpreter frames. 2011-06-02 01:21:32 +02:00
Mike Pall
8dd09d5041 DUALNUM: Fix missing type check for loop index slot. 2011-06-01 00:49:29 +02:00
Mike Pall
2d0b32500e ARM: Tune rematerialization scheduler. 2011-05-31 21:50:14 +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
a522087371 x86/x64: Minor cleanup in assembler backend. 2011-05-31 21:39:09 +02:00
Mike Pall
496d3753f5 ARM: Optimize hash algorithm for 3-operand CPUs. 2011-05-31 21:38:16 +02:00
Mike Pall
514ccfceb8 ARM: Fix __newindex metamethod handling for BC_TSETB. 2011-05-31 21:37:44 +02:00
Mike Pall
0764c615fd ARM: Fix string.sub() argument checks. 2011-05-31 21:35:03 +02:00
Mike Pall
03b5c8c935 Clean up memory allocator initialization and catch early OOM. 2011-05-30 01:32:50 +02:00
Mike Pall
638f968978 FFI: Avoid unused functions if FFI is disabled. 2011-05-27 02:15:55 +02:00
Mike Pall
12dc697eae ARM: Interpreter/JIT integration, part #2. 2011-05-27 02:06:05 +02:00
Mike Pall
7683f39786 ARM: Fix math.ldexp() recording and folding. 2011-05-27 02:03:02 +02:00
Mike Pall
7bad42a3ba Fix compiler warning. 2011-05-27 02:01:36 +02:00
Mike Pall
46955be1e2 Fix handling of number constants in snapshots in SPLIT pass. 2011-05-27 01:56:25 +02:00
Mike Pall
840a067d4e ARM: Fix rematerialization scheduler. 2011-05-26 18:05:19 +02:00
Mike Pall
8d4400331d ARM: Flush instruction cache in assembler backend. 2011-05-26 18:04:01 +02:00
Mike Pall
4057620bf5 Treat extra exit from stack check like a parent exit. 2011-05-26 18:02:42 +02:00