summaryrefslogtreecommitdiff
path: root/src/lib_base.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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