summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* detail (keep OP_LOADK and OP_LOADKX together)Roberto Ierusalimschy2017-09-152-5/+5
|
* jumps do not close upvalues (to be faster and simpler);Roberto Ierusalimschy2017-09-136-67/+139
| | | | | | explicit instruction to close upvalues; command 'break' not handled like a 'goto' (to optimize removal of uneeded 'close' instructions)
* bug: dead keys with nil values can stay in weak tablesRoberto Ierusalimschy2017-08-312-12/+47
|
* jumps in 'for' loops don't need to be signedRoberto Ierusalimschy2017-08-144-20/+38
|
* comment in code fragmentRoberto Ierusalimschy2017-08-121-3/+3
|
* commentRoberto Ierusalimschy2017-08-121-2/+2
|
* bug: Lua does not check GC when creating error messagesRoberto Ierusalimschy2017-07-271-9/+54
|
* no more reference 'memerrmsg' + new reference to "n"Roberto Ierusalimschy2017-07-275-16/+24
| | | | | | (both can be retrieved by 'luaS_newliteral' without creating anything, because they are fixed, but "n" deserves fast access while 'memerrmsg' does not)
* new version (5.4)Roberto Ierusalimschy2017-07-271-4/+4
|
* bug: Lua does not check GC when creating error messagesRoberto Ierusalimschy2017-07-101-1/+2
|
* coercion string->number in arithmetic operations moved to stringRoberto Ierusalimschy2017-07-075-19/+111
| | | | library
* 'OP_VARARG' has the vararg parameter as an operandRoberto Ierusalimschy2017-06-294-9/+10
|
* new type 'StackValue' for stack elementsRoberto Ierusalimschy2017-06-2920-351/+409
| | | | (we may want to put extra info there in the future)
* new constant 'LUA_GNAME' for the name of the global table "_G"Roberto Ierusalimschy2017-06-275-10/+14
|
* dumping ints and size_ts compactedRoberto Ierusalimschy2017-06-272-20/+38
|
* 'lineinfo' in prototypes saved as differences instead of absoluteRoberto Ierusalimschy2017-06-2711-33/+195
| | | | | | values, so that the array can use bytes instead of ints, reducing its size. (A new array 'abslineinfo' is used when line differences do not fit in a byte.)
* new type 'ls_byte' for signed bytesRoberto Ierusalimschy2017-06-271-1/+2
|
* no more 'DEADKEY'. Table traversals do not need to consider dead keys;Roberto Ierusalimschy2017-06-125-66/+49
| | | | | | if the key is dead, it cannot be given to 'next'. Instead, we now use a 'table' tag without the collectable bit, which makes it a unique tag good enough to reserve space.
* detailRoberto Ierusalimschy2017-06-092-4/+4
| | | | (removed empty spaces at the end of lines)
* in hash nodes, keys are stored in separate pieces to avoid wastingRoberto Ierusalimschy2017-06-096-110/+201
| | | | space with alignments
* when assigning to a 'TValue', better assign only exact fields,Roberto Ierusalimschy2017-06-011-6/+6
| | | | to allow us to put stuff after the 'TValuefields' if needed
* macro 'setobj2t' may not be an expressionRoberto Ierusalimschy2017-06-011-2/+3
|
* macro 'luaV_fastget' may need protection ({}) to be used insideRoberto Ierusalimschy2017-06-012-8/+14
| | | | 'if's
* avoid overflows in computation of step sizeRoberto Ierusalimschy2017-06-012-3/+12
|
* updated GC states in function 'T.gcstate'Roberto Ierusalimschy2017-05-311-5/+7
|
* revamping the incremental collectorRoberto Ierusalimschy2017-05-267-198/+208
| | | | | | Some simplifications (not counting bytes, couting only slots visited; no more 'gcfinnum'); more GC parameters; using vararg in 'lua_gc' to set parameters in different GC modes
* include first standard header filesRoberto Ierusalimschy2017-05-241-2/+3
| | | | | (Some broken compiler has problems with 'signal.h' being included without a definition for 'size_t'.)
* bug: cannot reuse a dying upvalueRoberto Ierusalimschy2017-05-241-2/+2
|
* assert removed in 'luaO_arith'Roberto Ierusalimschy2017-05-241-2/+1
| | | | (nobody calls it with L==NULL)
* details (using proper version of 'setobj')Roberto Ierusalimschy2017-05-232-5/+5
|
* detail (extra closing brackets)Roberto Ierusalimschy2017-05-221-3/+2
|
* handling of inf, -inf, and NaN by string.format'%q'Roberto Ierusalimschy2017-05-191-14/+28
|
* bug: Lua crashes when building sequences with more than 2^30 elements.Roberto Ierusalimschy2017-05-191-2/+51
| | | | | bug: Table length computation overflows for sequences larger than 2^31 elements..
* BUG: in 'computesizes', 'twotoi' overflows when a sequence hasRoberto Ierusalimschy2017-05-191-3/+6
| | | | more than 2^30 elements.
* 'luaH_getn' must return 'lua_Unsigned' (or 'lua_Integer'), toRoberto Ierusalimschy2017-05-191-2/+2
| | | | | allow the boundary-search algorithm to use 'maxinteger' when it cannot find a good upper bound.
* better implementation for 'hash_search', without using 'size_t'Roberto Ierusalimschy2017-05-191-28/+36
| | | | (simpler to implement and to explain)
* table field names for dedicated opcodes can be restricted toRoberto Ierusalimschy2017-05-182-8/+8
| | | | small strings for slightly faster access
* details in OP_CALL + commentsRoberto Ierusalimschy2017-05-181-9/+12
|
* 'lua_rawlen' returns 'lua_Unsigned' instead of 'size_t'. (RealRoberto Ierusalimschy2017-05-182-4/+4
| | | | | length of strings and userdata are limited by Lua integers, but table length is hard to compute limiting it to 'size_t'.)
* reimplementation of 'luaH_getn', trying to handle numeric limitsRoberto Ierusalimschy2017-05-161-33/+44
| | | | properly.
* no more field 'base' in CallInfo (base is always equal to 'func + 1',Roberto Ierusalimschy2017-05-134-23/+19
| | | | with old/new vararg implementation)
* back to old-style vararg system (with vararg table collecting extraRoberto Ierusalimschy2017-05-137-72/+74
| | | | arguments)
* revamp of fast track for table access (table set uses the sameRoberto Ierusalimschy2017-05-113-94/+81
| | | | macros as table get + new macro for integer keys)
* more integer fast tracks (for OP_LT, OP_LE, OP_SETTABLE, and OP_GETTABLE)Roberto Ierusalimschy2017-05-101-17/+51
|
* detail ('1' -> '1u' in unsigned operation)Roberto Ierusalimschy2017-05-091-2/+2
|
* details (direct access to 'Ck' bit in instructions)Roberto Ierusalimschy2017-05-082-4/+7
|
* detail ('luaT_callbinTM' does not need to be extern)Roberto Ierusalimschy2017-05-082-8/+6
|
* 'luaV_execute' keeps local copy of program counter and hook mask,Roberto Ierusalimschy2017-05-051-29/+62
| | | | to avoid excessive access to globals.
* bug: Wrong code for a goto followed by a label inside an 'if'Roberto Ierusalimschy2017-05-051-2/+34
|
* barrier for prototype's cache (with new gray list 'protogray' to keepRoberto Ierusalimschy2017-05-047-22/+95
| | | | prototypes to have their caches visited again) + constant 'MAXMISS'