aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* no optimizations in test mode + no more compat with 5.2 + a few moreRoberto Ierusalimschy2018-02-271-10/+11
| | | | options in comments
* metamethods for 'removekey'/'keyin'Roberto Ierusalimschy2018-02-274-18/+46
|
* better names for macros for tags and types.Roberto Ierusalimschy2018-02-268-49/+49
| | | | | rttype -> rawtt; ttyperaw -> withvariant; ttype -> ttypetag; tnov -> ttype
* special compact representation for userdata with no user valuesRoberto Ierusalimschy2018-02-262-12/+44
| | | | (a common case)
* using 'offsetof' to compute the size of parts of a structureRoberto Ierusalimschy2018-02-251-5/+5
|
* avoid variant tags with the same value of the original typeRoberto Ierusalimschy2018-02-251-9/+9
| | | | (to expose bugs more easily)
* first (parcial) implementation of 'keyin'/'removekey'Roberto Ierusalimschy2018-02-255-43/+98
| | | | (still no metamethods, no raw verssions)
* added check in 'obj2gco' to prevent its use in non Lua-object pointersRoberto Ierusalimschy2018-02-251-3/+6
| | | | (otherwise its cast is blind, casting any value given to it)
* in 'clearbykeys', clear keys of just-removed entries tooRoberto Ierusalimschy2018-02-231-3/+3
|
* first version of empty entries in tablesRoberto Ierusalimschy2018-02-2311-99/+146
| | | | (so that, in the future, tables can contain regular nil entries)
* some reorganization in 'lobject.h'Roberto Ierusalimschy2018-02-222-188/+224
| | | | (just moving stuff around)
* conditional jumps "deunified"Roberto Ierusalimschy2018-02-211-15/+28
| | | | (if a jump table is used, the unification may harm jump prediction.)
* removed coercion string->number in bitwise operationsRoberto Ierusalimschy2018-02-211-59/+1
| | | | (can be done with a Lua module)
* details (comments)Roberto Ierusalimschy2018-02-211-19/+26
|
* new opcodes OP_GTI/OP_GEIRoberto Ierusalimschy2018-02-215-45/+50
|
* using new 'lua_newuserdatauv' instead of 'lua_newuserdata'Roberto Ierusalimschy2018-02-213-6/+6
|
* simpler implementation for 'LTintfloat'/'LEintfloat'Roberto Ierusalimschy2018-02-211-45/+71
| | | | + 'LTfloatint'/'LEfloatint'
* small reorganization of 'luaV_flttointeger'/'luaV_tointeger'Roberto Ierusalimschy2018-02-214-34/+39
|
* detail (comment)Roberto Ierusalimschy2018-02-201-7/+8
|
* userdata can have multiple user valuesRoberto Ierusalimschy2018-02-208-80/+121
|
* more generic way to handle 'gclist'Roberto Ierusalimschy2018-02-196-75/+63
|
* two new fields 'fTransfer'/'nTransfer' in 'lua_Debug' structureRoberto Ierusalimschy2018-02-176-19/+52
| | | | (for information about values being given and returned in function calls)
* correct way to check stack space for vararg functionsRoberto Ierusalimschy2018-02-175-14/+14
|
* in return hook, 'top' must be corrected only if smaller than 'ci->top'.Roberto Ierusalimschy2018-02-171-2/+3
| | | | | (It may be larger when returning multiple values, and then it must be larger to preserve that stack slice.)
* no more 'nfield' stringRoberto Ierusalimschy2018-02-152-10/+7
|
* some simplifications/optimizations in returns from Lua functionsRoberto Ierusalimschy2018-02-157-77/+80
|
* vararg back to '...' (but with another implementation)Roberto Ierusalimschy2018-02-0911-110/+133
| | | | new implementation should have zero overhead for non-vararg functions
* detailsRoberto Ierusalimschy2018-02-071-13/+16
|
* new opcode 'PREPVARARG'Roberto Ierusalimschy2018-02-077-29/+50
| | | | (avoids test for vararg function in all function calls)
* detailRoberto Ierusalimschy2018-02-071-6/+6
| | | | (order of 'OT' and 'IT' bits corresponds with macro 'opmode')
* call hooks for Lua functions called by 'luaV_execute'Roberto Ierusalimschy2018-02-064-21/+23
|
* GC default mode for the stand-alone interpreter is generational modeRoberto Ierusalimschy2018-02-061-1/+2
|
* small corrections in generational modeRoberto Ierusalimschy2018-02-051-7/+9
| | | | | (cannot call finalizers in emergency collections + should set everything before calling finalizers)
* default for minor collection intervals a little largerRoberto Ierusalimschy2018-02-051-4/+4
|
* 'gcemergency' should be zero before any memory allocationRoberto Ierusalimschy2018-02-051-2/+2
|
* 'collectgarbage' returns old mode when changing modeRoberto Ierusalimschy2018-02-052-6/+14
|
* detailRoberto Ierusalimschy2018-01-291-2/+2
| | | | (uses a reserved-format name for an internal type in the registry)
* warnings in VS (implicit casts from ptrdiff_t to int)Roberto Ierusalimschy2018-01-293-6/+6
|
* janitor work on castsRoberto Ierusalimschy2018-01-2818-76/+83
|
* bug in tailcall of vararg functionsRoberto Ierusalimschy2018-01-283-24/+26
| | | | (when adjusting missing parameters)
* calling a vararg function needs to check GCRoberto Ierusalimschy2018-01-282-8/+10
| | | | (because it creates a new table)
* detail (comment)Roberto Ierusalimschy2018-01-281-2/+2
|
* OP_CONCAT does not move its result (to simplify its execution)Roberto Ierusalimschy2018-01-273-51/+61
|
* commentsRoberto Ierusalimschy2018-01-181-11/+13
|
* 'OP_TAILCALL' calling C functions finishes the call and returnsRoberto Ierusalimschy2018-01-141-5/+10
| | | | (instead of waiting for following 'OP_RETURN')
* 'luaD_tryfuncTM' can ensure it does not change the stackRoberto Ierusalimschy2018-01-103-13/+8
|
* error handler in protected calls must be a functionRoberto Ierusalimschy2018-01-102-3/+4
|
* avoid jumping into a variable scope (C++ does not allow that)Roberto Ierusalimschy2018-01-091-8/+8
|
* keep more opcode arguments byte-alignedRoberto Ierusalimschy2018-01-093-24/+28
|
* typos in commentsRoberto Ierusalimschy2017-12-303-8/+8
|