aboutsummaryrefslogtreecommitdiff
path: root/src/lj_api.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Bump copyright date.Mike Pall2025-01-131-1/+1
|
* Handle stack reallocation in debug.setmetatable() and lua_setmetatable().Mike Pall2024-03-101-0/+1
| | | | Thanks to Sergey Kaplun. #1172
* Bump copyright date.Mike Pall2023-08-201-1/+1
|
* Bump copyright date.Mike Pall2022-01-151-1/+1
|
* Bump copyright date.Mike Pall2021-01-021-1/+1
|
* Fix write barrier for lua_setupvalue() and debug.setupvalue().Mike Pall2020-03-201-3/+5
|
* Bump copyright date.Mike Pall2020-01-201-1/+1
|
* Bump copyright date to 2017.Mike Pall2017-01-171-1/+1
|
* Bump copyright date to 2016.Mike Pall2016-03-031-1/+1
|
* Bump copyright date to 2015.Mike Pall2015-01-051-1/+1
|
* Bump copyright date to 2014.Mike Pall2014-01-161-1/+1
|
* Fix for last commitMike Pall2013-11-051-1/+1
|
* Bump copyright date to 2013.Mike Pall2013-02-111-1/+1
|
* Don't use stack unwinding for lua_yield().Mike Pall2012-10-091-5/+8
|
* Move load/dump functions to lj_load.c. Add load modes.Mike Pall2012-09-211-44/+0
|
* From Lua 5.2: Add debug.upvalueid() and debug.upvaluejoin().Mike Pall2012-09-201-0/+20
| | | | Ditto for lua_upvalueid() and lua_upvaluejoin().
* Replace strtod() with builtin string to number conversion.Mike Pall2012-08-251-7/+8
|
* Make lua_concat() work from C hook with partial frame.Mike Pall2012-04-121-1/+1
|
* Bump copyright date to 2012.Mike Pall2012-01-231-1/+1
|
* Replace stack slot for implicit number->string conv. in Lua/C API.Mike Pall2011-11-211-6/+12
|
* Add support for bytecode loading/saving.Mike Pall2011-06-131-5/+10
|
* No need for L argument to lj_str_initbuf().Mike Pall2011-06-121-1/+1
|
* Flatten and compress in-memory debug info (saves ~70%).Mike Pall2011-06-091-2/+2
|
* Move debugging/introspection functionality to lj_debug.c.Mike Pall2011-06-071-23/+4
|
* Add support for tailcalls from internal C functions.Mike Pall2011-04-121-1/+1
| | | | PPC: Fix __call metamethod for tailcalls.
* x64: Use external unwinding for lua_yield().Mike Pall2011-03-181-0/+4
|
* Get rid of the remaining silly cast macros from Lua.Mike Pall2011-03-101-2/+2
|
* FFI: Fix compiled ffi.string() semantics.Mike Pall2011-02-281-1/+1
|
* DUALNUM: Add integer type to core VM.Mike Pall2011-02-171-42/+61
|
* Bump copyright date to 2011.Mike Pall2011-01-091-1/+1
|
* FFI: Add cdata object type.Mike Pall2010-11-261-2/+4
|
* x64: Optimize internal/external tag conversion in lua_type().Mike Pall2010-10-111-0/+4
|
* Turn some lua_State fields into 32 bit pointers.Mike Pall2010-09-091-2/+2
| | | | lua_State now fits into one cache line on x64.
* Treat the tag of a TValue as unsigned everywhere.Mike Pall2010-04-251-3/+4
|
* 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