summaryrefslogtreecommitdiff
path: root/src/lj_parse.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Optimize BC_VARG: use RC for numparams.Mike Pall2010-09-101-8/+7
|
* Use biased integer constant for TSETM array index.Mike Pall2010-09-091-1/+2
|
* Improve coalescing of multiple KPRI instructions to KNIL.Mike Pall2010-09-011-39/+42
|
* Fix some compiler warnings.Mike Pall2010-08-031-3/+5
|
* Use FuncState typedef in favor of struct.Mike Pall2010-08-031-1/+1
|
* Turn TValue setter macros into inline functions.Mike Pall2010-04-261-1/+1
|
* Treat the tag of a TValue as unsigned everywhere.Mike Pall2010-04-251-3/+3
|
* No longer let the GC replace dead keys with the LJ_TDEADKEY tag.Mike Pall2010-04-211-2/+4
| | | | | | | | Important: this changes the semantics of the write barrier! Carefully read the big comment block in lj_obj.h This helps HREFK key slot specialization and allows safely hoisting HREF/HREFK across GC steps, too (fix for a barely reproducible bug). Dead keys are only removed during a table resize (as before).
* Replace on-trace GC frame syncing with interpreter exit.Mike Pall2010-04-191-1/+1
| | | | | | | Need to sync GC objects to stack only during atomic GC phase. Need to setup a proper frame structure only for calling finalizers. Force an exit to the interpreter and let it handle the uncommon cases. Finally solves the "NYI: gcstep sync with frames" issue.
* Major redesign of function call handling.Mike Pall2010-02-131-17/+21
| | | | | | | | | | | 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 Pall2010-02-121-1/+1
|
* Drop bc field in GCproto since the bytecode is colocated.Mike Pall2010-02-081-1/+0
|
* Fix constructor bytecode generation for conditional values.Mike Pall2010-02-081-1/+1
|
* Redesign of prototype generation, part 5: colocation of protoype arrays.Mike Pall2010-02-081-56/+61
|
* Redesign of prototype generation, part 4: late creation of prototype.Mike Pall2010-02-081-18/+19
|
* Redesign of prototype generation, part 3: bc and lineinfo.Mike Pall2010-02-081-88/+98
| | | | | 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 Pall2010-02-081-1/+6
|
* Redesign of prototype generation, part 1: varinfo and uvname.Mike Pall2010-02-081-86/+86
| | | | | Use a growable, per-chunk variable stack. Collect varinfo/uvname for prototype at the end.
* Major cleanup of bytecode parser.Mike Pall2010-02-061-1334/+1327
|
* 32/64 bit memory ref cleanup, part 4: GCproto ->varinfo.Mike Pall2010-02-051-6/+11
|
* 32/64 bit memory ref cleanup, part 3: GCproto ->lineinfo.Mike Pall2010-02-051-10/+16
|
* 32/64 bit memory ref cleanup, part 2: GCproto ->uvname and ->chunkname.Mike Pall2010-02-051-8/+15
|
* 32/64 bit memory ref cleanup, part 1: GCproto ->bc and ->k.Mike Pall2010-02-051-27/+36
|
* Avoid int16_t widening for pt->uv elements.Mike Pall2010-01-091-4/+4
|
* Bump all copyright dates to 2010.Mike Pall2010-01-091-1/+1
|
* Fix alloc/free sizes of internal GCRef arrays.Mike Pall2009-12-291-1/+1
|
* Fast forward to sync public repo.Mike Pall2009-12-081-0/+1
| | | | | | | | Compile math.sinh(), math.cosh(), math.tanh() and math.random(). Compile various io.*() functions. Drive the GC forward on string allocations in the parser. Improve KNUM fuse vs. load heuristics. Add abstract C call handling to IR.
* LuaJIT-2.0.0-beta2 hotfix #2v2.0.0-beta2-hotfix2Mike Pall2009-12-081-2/+4
| | | | | | Fix lua_tocfunction(). Fix cutoff register in JMP bytecode for some conditional expressions. Fix PHI marking algorithm for references from variant slots.
* RELEASE LuaJIT-2.0.0-beta1v2.0.0-beta1Mike Pall2009-12-081-0/+2198