Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor Lua stack handling in lj_asm.c. | Mike Pall | 2010-02-21 | 1 | -104/+115 |
| | |||||
* | Eliminate redundant stack checks. Add checks for growing root traces. | Mike Pall | 2010-02-21 | 2 | -8/+26 |
| | |||||
* | Rethrow errors from trace exit handling from the right C frame. | Mike Pall | 2010-02-19 | 9 | -1679/+1719 |
| | |||||
* | Allow linking to already compiled functions. | Mike Pall | 2010-02-18 | 2 | -8/+24 |
| | |||||
* | Use a limited history buffer for tailcall counts while recording. | Mike Pall | 2010-02-18 | 2 | -14/+17 |
| | |||||
* | Adapt bytecode patching/unpatching for hot calls. | Mike Pall | 2010-02-18 | 1 | -9/+6 |
| | |||||
* | Update trace recorder infrastructure for hot calls. | Mike Pall | 2010-02-18 | 3 | -15/+17 |
| | |||||
* | Fix some uses of tref_isint(). | Mike Pall | 2010-02-18 | 1 | -2/+2 |
| | |||||
* | Drop obsolete shadow frame link stack. | Mike Pall | 2010-02-18 | 5 | -47/+38 |
| | |||||
* | Add more assertions to compare the recorder state and the VM state. | Mike Pall | 2010-02-18 | 1 | -4/+31 |
| | |||||
* | Clear frame gaps in recorder to avoid resurrecting previous refs. | Mike Pall | 2010-02-18 | 1 | -2/+6 |
| | |||||
* | Just disable JIT compiler for non-SSE2 CPUs instead of aborting. | Mike Pall | 2010-02-16 | 3 | -14/+20 |
| | |||||
* | Split CALL/FUNC recording. | Mike Pall | 2010-02-16 | 2 | -447/+455 |
| | | | | | | | | Record __call resolving and specialization for CALL* bytecodes. Record argument adjustment and fast functions for FUNC* bytecodes. Avoids all pending/immediate decisions for chained fast functions. Cleaner semantics for pcall(), xpcall() and __tostring metamethod. Prerequisite to drop the shadow frame link stack again. | ||||
* | Improve error reporting for traces aborted in non-Lua functions. | Mike Pall | 2010-02-15 | 1 | -2/+13 |
| | |||||
* | Change record vmevent parameters. Dump function id on FUNC*. | Mike Pall | 2010-02-15 | 1 | -12/+6 |
| | |||||
* | Use a different marker for hot calls. | Mike Pall | 2010-02-15 | 5 | -1081/+1097 |
| | |||||
* | Add generic function handling for debug modules. | Mike Pall | 2010-02-15 | 2 | -14/+18 |
| | | | | Don't call record vmevent for non-Lua functions. | ||||
* | Minor cleanup of trace event handling. | Mike Pall | 2010-02-15 | 5 | -37/+33 |
| | |||||
* | Add missing FORI coercions in recorder. | Mike Pall | 2010-02-15 | 1 | -4/+13 |
| | |||||
* | Improve FOR loop const specialization and integerness checks. | Mike Pall | 2010-02-15 | 2 | -34/+68 |
| | |||||
* | Implement return hooks for Lua functions (zero-cost if disabled). | Mike Pall | 2010-02-14 | 7 | -1447/+1490 |
| | |||||
* | Implement call hooks (zero-cost if disabled). | Mike Pall | 2010-02-14 | 7 | -1582/+1690 |
| | |||||
* | Major redesign of function call handling. | Mike Pall | 2010-02-13 | 33 | -4153/+4311 |
| | | | | | | | | | | | Drop call gates. Use function headers, dispatched like bytecodes. Emit BC_FUNCF/BC_FUNCV bytecode at PC 0 for all Lua functions. C functions and ASM fast functions get extra bytecodes. Modify internal calling convention: new base in BASE (formerly in RA). Can now use better C function wrapper semantics (dynamic on/off). Prerequisite for call hooks with zero-overhead if disabled. Prerequisite for compiling recursive calls. Prerequisite for efficient 32/64 bit prototype guards. | ||||
* | Extend scope of local vars in debug info beyond final return. | Mike Pall | 2010-02-12 | 1 | -1/+1 |
| | |||||
* | Move dispatch tables out of GG_State struct. | Mike Pall | 2010-02-11 | 10 | -43/+45 |
| | |||||
* | Drop frame clearing in exit handling and JIT compiled code. | Mike Pall | 2010-02-11 | 2 | -21/+1 |
| | |||||
* | Switch to pre-initialized stacks. Drop frame clearing in interpreter. | Mike Pall | 2010-02-11 | 7 | -2686/+2697 |
| | |||||
* | Replace GCproto reference with bytecode PC in GCfuncL. | Mike Pall | 2010-02-10 | 3 | -30/+32 |
| | |||||
* | Drop bc field in GCproto since the bytecode is colocated. | Mike Pall | 2010-02-08 | 7 | -29/+23 |
| | |||||
* | Fix constructor bytecode generation for conditional values. | Mike Pall | 2010-02-08 | 1 | -1/+1 |
| | |||||
* | Reduce whitespace in lj_bcdef.h. | Mike Pall | 2010-02-08 | 1 | -4/+4 |
| | |||||
* | Redesign of prototype generation, part 5: colocation of protoype arrays. | Mike Pall | 2010-02-08 | 10 | -129/+90 |
| | |||||
* | Redesign of prototype generation, part 4: late creation of prototype. | Mike Pall | 2010-02-08 | 2 | -20/+20 |
| | |||||
* | Redesign of prototype generation, part 3: bc and lineinfo. | Mike Pall | 2010-02-08 | 3 | -88/+109 |
| | | | | | Use a growable, per-chunk bytecode instruction/line stack. Collect bc/lineinfo for prototype at the end. | ||||
* | Redesign of prototype generation, part 2: late init of chunkname. | Mike Pall | 2010-02-08 | 2 | -5/+6 |
| | |||||
* | Redesign of prototype generation, part 1: varinfo and uvname. | Mike Pall | 2010-02-08 | 6 | -96/+109 |
| | | | | | Use a growable, per-chunk variable stack. Collect varinfo/uvname for prototype at the end. | ||||
* | Major cleanup of bytecode parser. | Mike Pall | 2010-02-06 | 1 | -1334/+1327 |
| | |||||
* | Update .gitignore. | Mike Pall | 2010-02-06 | 1 | -0/+1 |
| | |||||
* | Move bytecode offsets from lj_vm.* to generated header. | Mike Pall | 2010-02-05 | 11 | -62/+49 |
| | |||||
* | 32/64 bit memory ref cleanup, part 4: GCproto ->varinfo. | Mike Pall | 2010-02-05 | 5 | -15/+21 |
| | |||||
* | 32/64 bit memory ref cleanup, part 3: GCproto ->lineinfo. | Mike Pall | 2010-02-05 | 8 | -26/+38 |
| | |||||
* | 32/64 bit memory ref cleanup, part 2: GCproto ->uvname and ->chunkname. | Mike Pall | 2010-02-05 | 8 | -30/+43 |
| | |||||
* | 32/64 bit memory ref cleanup, part 1: GCproto ->bc and ->k. | Mike Pall | 2010-02-05 | 10 | -66/+84 |
| | |||||
* | RETF modifies BASE. Treat it like a store or it gets CSEd. | Mike Pall | 2010-02-04 | 2 | -1/+3 |
| | |||||
* | Reset the hotcount table after a JIT off to on transition. | Mike Pall | 2010-02-04 | 3 | -15/+18 |
| | |||||
* | Add shadow frame link stack for trace recorder. | Mike Pall | 2010-02-04 | 6 | -56/+82 |
| | | | | | Simplifies snapshots. Prerequisite for pre-call snapshots. Increases consistency for fast function calls, too. | ||||
* | Fix unroll limit checks and frame depth adjustment for pcall. | Mike Pall | 2010-02-03 | 1 | -13/+11 |
| | |||||
* | Clean up frame depth checks and loop detection. | Mike Pall | 2010-02-03 | 3 | -6/+12 |
| | |||||
* | Add extra check to suppress hotcall event during recording. | Mike Pall | 2010-02-03 | 1 | -2/+3 |
| | |||||
* | Another loop formation test must check for return to lower frame. | Mike Pall | 2010-02-03 | 1 | -1/+1 |
| |