summaryrefslogtreecommitdiff
path: root/src/lj_api.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Avoid starting a GC cycle immediately after library init.Mike Pall2010-04-251-1/+1
|
* Add assertions to guard against using lua_*call on dead coroutines.Mike Pall2010-04-231-3/+6
|
* No longer let the GC replace dead keys with the LJ_TDEADKEY tag.Mike Pall2010-04-211-3/+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).
* Major redesign of function call handling.Mike Pall2010-02-131-2/+3
| | | | | | | | | | | 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.
* Redesign of prototype generation, part 5: colocation of protoype arrays.Mike Pall2010-02-081-2/+2
|
* Redesign of prototype generation, part 1: varinfo and uvname.Mike Pall2010-02-081-4/+2
| | | | | Use a growable, per-chunk variable stack. Collect varinfo/uvname for prototype at the end.
* 32/64 bit memory ref cleanup, part 2: GCproto ->uvname and ->chunkname.Mike Pall2010-02-051-1/+1
|
* Fix 32/64 bit portability issue with upval->v.Mike Pall2010-01-091-1/+1
|
* Bump all copyright dates to 2010.Mike Pall2010-01-091-1/+1
|
* Implement yield from C hooks.Mike Pall2009-12-301-12/+25
| | | | | | Get number of multiple results from C frame. Add lj_cont_hook: restores multres and dispatch to static ins. Can use fastcall for lj_dispatch_ins() now.
* Adapt primary inbound calls in x64 interpreter.Mike Pall2009-12-171-2/+2
| | | | Change argument order for lj_vm_cpcall() to simplify x64 interpreter.
* Fast forward to sync public repo.Mike Pall2009-12-081-13/+13
| | | | | | | | 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/+6
| | | | | | 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-beta2v2.0.0-beta2Mike Pall2009-12-081-2/+134
|
* RELEASE LuaJIT-2.0.0-beta1v2.0.0-beta1Mike Pall2009-12-081-0/+1046