summaryrefslogtreecommitdiff
path: root/src/lj_api.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into v2.1Mike Pall2016-03-031-1/+1
|\
| * Bump copyright date to 2016.Mike Pall2016-03-031-1/+1
| |
* | Add collectgarbage("isrunning").Mike Pall2015-10-011-0/+3
| |
* | LJ_FR2: Fix lua_settable() and lua_setfield().Mike Pall2015-01-071-2/+2
| |
* | Merge branch 'master' into v2.1Mike Pall2015-01-061-1/+1
|\|
| * Bump copyright date to 2015.Mike Pall2015-01-051-1/+1
| |
* | Add LJ_GC64 mode: 64 bit GC object references.Mike Pall2015-01-031-2/+2
| | | | | | | | Actually NaN tagging with 47 bit pointers and 13+4 bit tags.
* | Add LJ_FR2 mode: Two-slot frame info.Mike Pall2015-01-031-38/+59
| |
* | Cleanup of TValue setters. No functional changes.Mike Pall2014-12-201-1/+1
| |
* | Cleanup of memory vs. GC sizes. No functional changes.Mike Pall2014-12-201-1/+1
| |
* | Cleanup of frame handling. No functional changes.Mike Pall2014-12-151-1/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2014-01-161-1/+1
|\|
| * Bump copyright date to 2014.Mike Pall2014-01-161-1/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2013-11-051-1/+1
|\|
| * Fix for last commitMike Pall2013-11-051-1/+1
| |
* | Add table.new().Mike Pall2013-10-091-3/+1
| |
* | Big renaming of string buffer/formatting/conversion functions.Mike Pall2013-05-131-4/+4
| |
* | Refactor raw object to pointer or string conversions.Mike Pall2013-05-131-11/+1
| |
* | Refactor internal string formatting.Mike Pall2013-05-121-2/+3
|/
* 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
|