aboutsummaryrefslogtreecommitdiff
path: root/src/lib_base.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* From Lua 5.2: Add rawlen(). Needs -DLUAJIT_ENABLE_LUA52COMPAT.Mike Pall2012-09-241-0/+14
|
* Rearrange library functions to get a fixed FF_next.Mike Pall2012-09-241-50/+50
|
* From Lua 5.2: Add mode and env arguments to load*().Mike Pall2012-09-211-26/+41
|
* Use 0/1 macro for Lua 5.2 compatibility.Mike Pall2012-09-121-7/+3
|
* FFI: Handle __pairs/__ipairs metamethods for cdata objects.Mike Pall2012-09-031-2/+6
|
* Replace strtod() with builtin string to number conversion.Mike Pall2012-08-251-1/+2
|
* Avoid compiler warnings about redefined C++ keywords.Mike Pall2012-07-091-1/+1
|
* Avoid pesky compiler warnings about C++ keywords (eh?).Mike Pall2012-07-031-1/+1
|
* Fix argument checks for coroutine.create().Mike Pall2012-05-281-1/+2
|
* Bump copyright date to 2012.Mike Pall2012-01-231-1/+1
|
* MIPS: Add interpreter. Enable MIPS build rules.Mike Pall2012-01-231-0/+2
|
* Move debugging/introspection functionality to lj_debug.c.Mike Pall2011-06-071-2/+3
|
* FFI: Change tonumber(cdata) semantics. Return nil for non-numbers.Mike Pall2011-06-061-13/+12
|
* DUALNUM: Handle integer type in x86/x64 interpreter and libraries.Mike Pall2011-02-271-1/+13
|
* From Lua 5.2: Support load(string).Mike Pall2011-02-201-1/+4
|
* From Lua 5.2: coroutine.running(). Needs -DLUAJIT_ENABLE_LUA52COMPAT.Mike Pall2011-02-201-1/+7
|
* DUALNUM: Add integer type to core VM.Mike Pall2011-02-171-10/+18
|
* Use names defined in lualib.h for library registration.Mike Pall2011-02-021-2/+2
|
* Bump copyright date to 2011.Mike Pall2011-01-091-1/+1
|
* FFI: Record tonumber() for boxed cdata.Mike Pall2011-01-021-1/+1
|
* FFI: Add support for converting cdata to tonumber().Mike Pall2010-12-051-0/+12
|
* FFI: Add cdata object type.Mike Pall2010-11-261-1/+2
|
* Disable Lua 5.2 features by default. See -DLUAJIT_ENABLE_LUA52COMPAT.Mike Pall2010-11-191-0/+4
|
* Add support for __pairs and __ipairs metamethods (from Lua 5.2).Mike Pall2010-11-181-4/+30
|
* Allow running C functions with coroutine.create(), too.Mike Pall2010-11-171-2/+2
|
* Rename character type handling from lj_ctype* to lj_char*.Mike Pall2010-11-091-2/+2
|
* Fix collectgarbage("count") result if more than 2GB is in use.Mike Pall2010-10-251-1/+1
| | | | Thanks to Tony Finch.
* Specialize bytecode for pairs()/next() iterator. Speedup: 3.5x.Mike Pall2010-09-301-0/+3
| | | | | | Parser predict pairs/next and emits specialized bytecode. Bytecode is descpecialized at runtime if the prediction was wrong. Store slot index in hidden control var to avoid key lookups.
* Fix stack growth for coroutine.wrap().Mike Pall2010-09-221-1/+1
|
* Record select().Mike Pall2010-09-131-1/+1
|
* Turn some lua_State fields into 32 bit pointers.Mike Pall2010-09-091-1/+1
| | | | lua_State now fits into one cache line on x64.
* Explicitly indicate tailcall from fast function fallback.Mike Pall2010-09-021-1/+1
|
* Fallback to metamethod resolving for tostring in print().Mike Pall2010-06-161-2/+9
|
* Canonicalize string conversion of nan, inf, -inf.Mike Pall2010-05-201-2/+1
|
* Treat the tag of a TValue as unsigned everywhere.Mike Pall2010-04-251-1/+1
|
* Turn traces into true GC objects (GCtrace).Mike Pall2010-04-251-1/+1
|
* No longer let the GC replace dead keys with the LJ_TDEADKEY tag.Mike Pall2010-04-211-1/+1
| | | | | | | | 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-5/+13
| | | | | | | | | | | 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.
* Bump all copyright dates to 2010.Mike Pall2010-01-091-1/+1
|
* Fix narrowing casts of pointer differences for x64.Mike Pall2009-12-291-1/+1
|
* Fix bad stack setup in collectgarbage().Mike Pall2009-12-291-3/+4
|
* Use fastcall for remaining 1-arg/2-arg calls from interpreter.Mike Pall2009-12-271-2/+3
| | | | Simplifies conversion to x64 calling conventions.
* Fast forward to sync public repo.Mike Pall2009-12-081-7/+6
| | | | | | | | 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.
* RELEASE LuaJIT-2.0.0-beta1v2.0.0-beta1Mike Pall2009-12-081-0/+560