aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* no more useful fields in CallInfoRoberto Ierusalimschy2017-11-037-91/+100
|
* more fields moved out of 'CallInfo'Roberto Ierusalimschy2017-11-0311-127/+152
|
* new API for 'lua_resume' + cleaning the uses of the 'extra' field inRoberto Ierusalimschy2017-11-027-58/+31
| | | | 'CallInfo'
* using 'L->func' when possibleRoberto Ierusalimschy2017-11-016-39/+37
|
* baby steps to remove 'CallInfo': keeping 'L->func' correctRoberto Ierusalimschy2017-10-315-9/+26
|
* detail: in 'isinstack', check against the whole stack insteadRoberto Ierusalimschy2017-10-311-5/+5
| | | | of against the stack frame
* do not mess up the debt when the collector is not runningRoberto Ierusalimschy2017-10-311-7/+7
|
* some cleaning in GC parametersRoberto Ierusalimschy2017-10-114-31/+46
|
* raw operation should not convert strings to numbersRoberto Ierusalimschy2017-10-101-2/+2
|
* eplicit 1-bit opcode operand 'k'Roberto Ierusalimschy2017-10-046-96/+103
|
* detailRoberto Ierusalimschy2017-10-041-2/+3
|
* new opcodes with immediate integer operand for all arithmetic operationsRoberto Ierusalimschy2017-10-045-28/+170
|
* avoid warning about 'const'Roberto Ierusalimschy2017-10-041-2/+2
|
* opcode size increased to 7 bitsRoberto Ierusalimschy2017-10-021-8/+8
|
* string constants (Kstr) must fit into 'B' registerRoberto Ierusalimschy2017-10-021-2/+2
|
* new function 'printcode'Roberto Ierusalimschy2017-10-011-1/+18
|
* avoid the use of bit 'Bk' ('B' will lose this bit soon)Roberto Ierusalimschy2017-10-013-14/+11
|
* no more 'getBMode'-'getCMode' (imprecise + we will need more spaceRoberto Ierusalimschy2017-09-286-109/+109
| | | | for op mode) + better control of op modes
* new function 'luaT_trybiniTM'Roberto Ierusalimschy2017-09-273-12/+19
| | | | to handle tag methods for instructions with immediate integer arguments
* binary operators use R instead of RKRoberto Ierusalimschy2017-09-264-76/+73
| | | | | faster + nobody uses RK(B), so B can be smaller (freeing one bit for more opcodes, soon)
* detailRoberto Ierusalimschy2017-09-261-2/+4
| | | | put explicit all cases for a switch of an enumeration
* new opcode OP_LOADF (load immediate float)Roberto Ierusalimschy2017-09-194-5/+25
|
* comments (documentation about instruction formats)Roberto Ierusalimschy2017-09-181-15/+14
|
* 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'.)