Commit Graph

  • 659ea9de7b Ensure function and all args have a reference for call recording. Mike Pall 2010-02-22 17:37:26 +0100
  • 3336434aa0 Fix TRef for (dummy) 2nd arg of __len metamethod. Mike Pall 2010-02-22 17:33:39 +0100
  • 86494c783d Back out history buffer for tailcall counts. Mike Pall 2010-02-22 16:57:59 +0100
  • 19af483166 Add region selection for up-recursion and tail-recursion. Mike Pall 2010-02-22 14:35:47 +0100
  • e76bcd2914 Refactor Lua stack handling in lj_asm.c. Mike Pall 2010-02-21 17:26:21 +0100
  • c1658ddcf1 Eliminate redundant stack checks. Add checks for growing root traces. Mike Pall 2010-02-21 16:47:43 +0100
  • c52da1f2da Rethrow errors from trace exit handling from the right C frame. Mike Pall 2010-02-19 03:13:48 +0100
  • bbe7d818d9 Allow linking to already compiled functions. Mike Pall 2010-02-18 19:37:30 +0100
  • b11eeab906 Use a limited history buffer for tailcall counts while recording. Mike Pall 2010-02-18 19:32:13 +0100
  • 65586ca4dc Adapt bytecode patching/unpatching for hot calls. Mike Pall 2010-02-18 17:17:50 +0100
  • 59f54be9d3 Update trace recorder infrastructure for hot calls. Mike Pall 2010-02-18 03:43:09 +0100
  • 2f300fb66a Fix some uses of tref_isint(). Mike Pall 2010-02-18 03:24:18 +0100
  • 2b22b9e710 Drop obsolete shadow frame link stack. Mike Pall 2010-02-18 03:19:46 +0100
  • 265a24b978 Add more assertions to compare the recorder state and the VM state. Mike Pall 2010-02-18 02:49:08 +0100
  • 00ad80c9e4 Clear frame gaps in recorder to avoid resurrecting previous refs. Mike Pall 2010-02-18 02:45:03 +0100
  • 4a7ee2cb66 Update docs and changelog. Mike Pall 2010-02-17 00:47:55 +0100
  • 8060f5b531 Just disable JIT compiler for non-SSE2 CPUs instead of aborting. Mike Pall 2010-02-16 23:39:24 +0100
  • c225ee8db4 Split CALL/FUNC recording. Mike Pall 2010-02-16 04:04:16 +0100
  • afa07e0c46 Improve error reporting for traces aborted in non-Lua functions. Mike Pall 2010-02-15 22:44:23 +0100
  • e664945e0b Change record vmevent parameters. Dump function id on FUNC*. Mike Pall 2010-02-15 22:26:33 +0100
  • e1905f498a Use a different marker for hot calls. Mike Pall 2010-02-15 18:04:06 +0100
  • 3452bfcf8c Add generic function handling for debug modules. Mike Pall 2010-02-15 17:36:29 +0100
  • b838cd8dca Minor cleanup of trace event handling. Mike Pall 2010-02-15 16:41:52 +0100
  • 1288e04186 Add missing FORI coercions in recorder. Mike Pall 2010-02-15 01:51:41 +0100
  • b6e4fde0dc Improve FOR loop const specialization and integerness checks. Mike Pall 2010-02-15 01:07:30 +0100
  • 2a2f8ed6a1 Implement return hooks for Lua functions (zero-cost if disabled). Mike Pall 2010-02-14 20:48:33 +0100
  • 8e38231f9e Implement call hooks (zero-cost if disabled). Mike Pall 2010-02-14 17:47:03 +0100
  • c93138b59e Major redesign of function call handling. Mike Pall 2010-02-13 04:51:56 +0100
  • 4f8d7be8ea Extend scope of local vars in debug info beyond final return. Mike Pall 2010-02-12 16:17:42 +0100
  • 2e5d3740ae Fix dump of bytecode instructions with missing operands. Mike Pall 2010-02-11 20:59:00 +0100
  • b2067236c5 Move dispatch tables out of GG_State struct. Mike Pall 2010-02-11 16:21:18 +0100
  • 565eb39574 Drop frame clearing in exit handling and JIT compiled code. Mike Pall 2010-02-11 01:50:32 +0100
  • ab90b8fc2b Switch to pre-initialized stacks. Drop frame clearing in interpreter. Mike Pall 2010-02-11 01:21:40 +0100
  • bb0384c366 Replace GCproto reference with bytecode PC in GCfuncL. Mike Pall 2010-02-10 21:45:57 +0100
  • d5a46621f9 Drop bc field in GCproto since the bytecode is colocated. Mike Pall 2010-02-08 20:17:34 +0100
  • 2ddea3838d Fix constructor bytecode generation for conditional values. Mike Pall 2010-02-08 16:08:58 +0100
  • f86f9e8eec Reduce whitespace in lj_bcdef.h. Mike Pall 2010-02-08 05:35:18 +0100
  • 6194b1c896 Redesign of prototype generation, part 5: colocation of protoype arrays. Mike Pall 2010-02-08 05:30:57 +0100
  • f275a9d7ef Redesign of prototype generation, part 4: late creation of prototype. Mike Pall 2010-02-08 05:29:47 +0100
  • 4424027844 Redesign of prototype generation, part 3: bc and lineinfo. Mike Pall 2010-02-08 05:28:57 +0100
  • 48d93d8c84 Redesign of prototype generation, part 2: late init of chunkname. Mike Pall 2010-02-08 05:27:43 +0100
  • 60b5af4422 Redesign of prototype generation, part 1: varinfo and uvname. Mike Pall 2010-02-08 05:26:52 +0100
  • 1307f49137 Major cleanup of bytecode parser. Mike Pall 2010-02-06 08:18:32 +0100
  • 1f39cc5c21 Update .gitignore. Mike Pall 2010-02-06 08:18:20 +0100
  • c4dadf1d67 Move bytecode offsets from lj_vm.* to generated header. Mike Pall 2010-02-05 20:15:01 +0100
  • a0914c409b 32/64 bit memory ref cleanup, part 4: GCproto ->varinfo. Mike Pall 2010-02-05 01:35:38 +0100
  • 8dcc4364cf 32/64 bit memory ref cleanup, part 3: GCproto ->lineinfo. Mike Pall 2010-02-05 01:16:22 +0100
  • d778982120 32/64 bit memory ref cleanup, part 2: GCproto ->uvname and ->chunkname. Mike Pall 2010-02-05 00:52:21 +0100
  • c8d55e8506 32/64 bit memory ref cleanup, part 1: GCproto ->bc and ->k. Mike Pall 2010-02-05 00:07:32 +0100
  • 370c868c31 RETF modifies BASE. Treat it like a store or it gets CSEd. Mike Pall 2010-02-04 21:33:24 +0100
  • 5d2690c608 Reset the hotcount table after a JIT off to on transition. Mike Pall 2010-02-04 20:40:00 +0100
  • 7256690364 Add shadow frame link stack for trace recorder. Mike Pall 2010-02-04 03:08:29 +0100
  • 78f5e2ffd3 Fix unroll limit checks and frame depth adjustment for pcall. Mike Pall 2010-02-03 16:48:25 +0100
  • 318e86c7eb Clean up frame depth checks and loop detection. Mike Pall 2010-02-03 14:55:56 +0100
  • c1c9abeab7 Add extra check to suppress hotcall event during recording. Mike Pall 2010-02-03 14:34:30 +0100
  • 305ecbbb84 Another loop formation test must check for return to lower frame. Mike Pall 2010-02-03 14:31:42 +0100
  • 61c5a60dc3 Improve coalescing of BASE register in side traces. Mike Pall 2010-02-01 23:32:26 +0100
  • 9a682f341d Revise hardcoded inlining in lj_asm.c. Saves 1-2K. Mike Pall 2010-01-30 14:33:08 +0100
  • 02e58f5e56 Add support for weak IR references to register allocator. Mike Pall 2010-01-30 06:50:39 +0100
  • 96e8a56260 Loop formation test must check for return to lower frame. Mike Pall 2010-01-29 15:07:40 +0100
  • 8681b7330f Compile return to lower frame. Only for Lua frames right now. Mike Pall 2010-01-29 03:32:37 +0100
  • 272b2f7368 Followup fix: set maxslot for continuation return. Mike Pall 2010-01-28 04:29:15 +0100
  • 2ed0bb7f1e Drop obsolete frame shrinking after continuation return. Mike Pall 2010-01-28 04:20:20 +0100
  • a6565d21fa Fix recording of metamethod result adjustment. Mike Pall 2010-01-28 04:02:32 +0100
  • 725da9224d Don't modify jit_State and exit counters while in vmevent. Mike Pall 2010-01-28 02:30:12 +0100
  • fb2c583cfc Fix snapshot dumps. Mike Pall 2010-01-28 02:02:08 +0100
  • 21d6709271 Avoid reuse of PHI registers, even for duplicate right PHIs. Mike Pall 2010-01-27 22:09:43 +0100
  • 09b8f67cd8 Expose compressed snapshot map to reflection API. Mike Pall 2010-01-27 20:06:03 +0100
  • 3aeb892262 Eliminate IR_FRAME. Replace with KGC and TRef/SnapEntry flags. Mike Pall 2010-01-27 03:50:29 +0100
  • d216cdb2b9 Add frame and continuation flags to TRef and SnapEntry. Mike Pall 2010-01-27 02:17:56 +0100
  • 05d67cf566 Add missing check for return to lower frame. Mike Pall 2010-01-27 01:57:15 +0100
  • c8a80fa989 Cleanup types for narrowing stack machine. Mike Pall 2010-01-27 00:39:22 +0100
  • 67ca399a30 Compress snapshots using a simple, extensible 1D-compression. Mike Pall 2010-01-26 21:49:04 +0100
  • e058714a2e Add missing eviction in asm_obar(). Mike Pall 2010-01-26 02:56:00 +0100
  • 34d84f8836 Fill gaps in frames (caused by metamethod calls) with nil. Mike Pall 2010-01-26 00:45:30 +0100
  • 47f1bc80d8 Use dedicated type for snapshot map entry. Mike Pall 2010-01-25 19:51:52 +0100
  • 055396a69d Force error if lua_newstate() is used in 64 bit mode. Mike Pall 2010-01-24 15:50:59 +0100
  • 43f1e13470 Integrate MinGW build with DWARF2 exception handling. Mike Pall 2010-01-22 01:56:49 +0100
  • c56811bb7a Fix undefined behavior in table resizing calculation. Mike Pall 2010-01-21 19:42:51 +0100
  • 419cbb3aa9 Fix ordered string comparisons. Unsigned arithmetic is evil. Mike Pall 2010-01-21 15:29:23 +0100
  • d62dcd4a72 Update docs about exception handling. Mike Pall 2010-01-20 12:24:56 +0100
  • a61df8efbe Decouple guard vs. INT check vs. TYPECHECK semantics for SLOAD. Mike Pall 2010-01-19 16:58:26 +0100
  • 36769c2f6b Fix broken intarith + testop optimization. Mike Pall 2010-01-19 01:45:39 +0100
  • 4e39597ba6 Add some sanity checks for allocator in 64 bit mode. Mike Pall 2010-01-18 01:32:33 +0100
  • 32969abe40 Reduce non-numeric tag range by bumping up 64 bit lightud tag. Mike Pall 2010-01-18 00:42:34 +0100
  • 379b8c5fe4 Update docs with x64 build instructions. Mike Pall 2010-01-17 22:02:13 +0100
  • 4b0725d5fc Fix more 64 bit conversion warnings. Mike Pall 2010-01-17 20:47:10 +0100
  • 09548024d1 Silence 64 bit conversion warning. Mike Pall 2010-01-17 20:36:04 +0100
  • 09ca54d9bc Enable build for x64 interpreter on WIN64. Mike Pall 2010-01-17 20:33:13 +0100
  • 49e3bdf080 Allocate 32 bit memory on WIN64 using NtAllocateVirtualMemory. Mike Pall 2010-01-17 20:20:43 +0100
  • 62fafb5a72 Fix off-by-one error in x64 PE object symbol mangling. Mike Pall 2010-01-17 19:58:31 +0100
  • 3100026b86 Error for blacklisted loop bytecodes has no info argument. Mike Pall 2010-01-16 02:04:12 +0100
  • 82417ee889 Add build infrastructure for x64 interpreter. Mike Pall 2010-01-14 12:28:16 +0100
  • a431d6f35c Shorten %p format for pure 32 bit pointers on x64. Mike Pall 2010-01-14 12:08:32 +0100
  • 767035f031 Strip '@' suffix from external symbols for MACH-O, too. Mike Pall 2010-01-10 09:39:05 +0100
  • 99d153bef9 Improve alias analysis of upvalues using a disambiguation hash value. Mike Pall 2010-01-09 23:59:43 +0100
  • 2cc554db0c Avoid int16_t widening for pt->uv elements. Mike Pall 2010-01-09 22:41:08 +0100
  • a33204ae5e Fix 32/64 bit portability issue with upval->v. Mike Pall 2010-01-09 21:11:35 +0100
  • ece20f8ca2 Fix x64 PE object emitter. Mike Pall 2010-01-09 21:10:22 +0100
  • 4d9be5b8f8 Bump all copyright dates to 2010. Mike Pall 2010-01-09 14:28:11 +0100