Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | no more useful fields in CallInfo | Roberto Ierusalimschy | 2017-11-03 | 7 | -91/+100 |
| | |||||
* | more fields moved out of 'CallInfo' | Roberto Ierusalimschy | 2017-11-03 | 11 | -127/+152 |
| | |||||
* | new API for 'lua_resume' + cleaning the uses of the 'extra' field in | Roberto Ierusalimschy | 2017-11-02 | 7 | -58/+31 |
| | | | | 'CallInfo' | ||||
* | using 'L->func' when possible | Roberto Ierusalimschy | 2017-11-01 | 6 | -39/+37 |
| | |||||
* | baby steps to remove 'CallInfo': keeping 'L->func' correct | Roberto Ierusalimschy | 2017-10-31 | 5 | -9/+26 |
| | |||||
* | detail: in 'isinstack', check against the whole stack instead | Roberto Ierusalimschy | 2017-10-31 | 1 | -5/+5 |
| | | | | of against the stack frame | ||||
* | do not mess up the debt when the collector is not running | Roberto Ierusalimschy | 2017-10-31 | 1 | -7/+7 |
| | |||||
* | some cleaning in GC parameters | Roberto Ierusalimschy | 2017-10-11 | 4 | -31/+46 |
| | |||||
* | raw operation should not convert strings to numbers | Roberto Ierusalimschy | 2017-10-10 | 1 | -2/+2 |
| | |||||
* | eplicit 1-bit opcode operand 'k' | Roberto Ierusalimschy | 2017-10-04 | 6 | -96/+103 |
| | |||||
* | detail | Roberto Ierusalimschy | 2017-10-04 | 1 | -2/+3 |
| | |||||
* | new opcodes with immediate integer operand for all arithmetic operations | Roberto Ierusalimschy | 2017-10-04 | 5 | -28/+170 |
| | |||||
* | avoid warning about 'const' | Roberto Ierusalimschy | 2017-10-04 | 1 | -2/+2 |
| | |||||
* | opcode size increased to 7 bits | Roberto Ierusalimschy | 2017-10-02 | 1 | -8/+8 |
| | |||||
* | string constants (Kstr) must fit into 'B' register | Roberto Ierusalimschy | 2017-10-02 | 1 | -2/+2 |
| | |||||
* | new function 'printcode' | Roberto Ierusalimschy | 2017-10-01 | 1 | -1/+18 |
| | |||||
* | avoid the use of bit 'Bk' ('B' will lose this bit soon) | Roberto Ierusalimschy | 2017-10-01 | 3 | -14/+11 |
| | |||||
* | no more 'getBMode'-'getCMode' (imprecise + we will need more space | Roberto Ierusalimschy | 2017-09-28 | 6 | -109/+109 |
| | | | | for op mode) + better control of op modes | ||||
* | new function 'luaT_trybiniTM' | Roberto Ierusalimschy | 2017-09-27 | 3 | -12/+19 |
| | | | | to handle tag methods for instructions with immediate integer arguments | ||||
* | binary operators use R instead of RK | Roberto Ierusalimschy | 2017-09-26 | 4 | -76/+73 |
| | | | | | faster + nobody uses RK(B), so B can be smaller (freeing one bit for more opcodes, soon) | ||||
* | detail | Roberto Ierusalimschy | 2017-09-26 | 1 | -2/+4 |
| | | | | put explicit all cases for a switch of an enumeration | ||||
* | new opcode OP_LOADF (load immediate float) | Roberto Ierusalimschy | 2017-09-19 | 4 | -5/+25 |
| | |||||
* | comments (documentation about instruction formats) | Roberto Ierusalimschy | 2017-09-18 | 1 | -15/+14 |
| | |||||
* | detail (keep OP_LOADK and OP_LOADKX together) | Roberto Ierusalimschy | 2017-09-15 | 2 | -5/+5 |
| | |||||
* | jumps do not close upvalues (to be faster and simpler); | Roberto Ierusalimschy | 2017-09-13 | 6 | -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 tables | Roberto Ierusalimschy | 2017-08-31 | 2 | -12/+47 |
| | |||||
* | jumps in 'for' loops don't need to be signed | Roberto Ierusalimschy | 2017-08-14 | 4 | -20/+38 |
| | |||||
* | comment in code fragment | Roberto Ierusalimschy | 2017-08-12 | 1 | -3/+3 |
| | |||||
* | comment | Roberto Ierusalimschy | 2017-08-12 | 1 | -2/+2 |
| | |||||
* | bug: Lua does not check GC when creating error messages | Roberto Ierusalimschy | 2017-07-27 | 1 | -9/+54 |
| | |||||
* | no more reference 'memerrmsg' + new reference to "n" | Roberto Ierusalimschy | 2017-07-27 | 5 | -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 Ierusalimschy | 2017-07-27 | 1 | -4/+4 |
| | |||||
* | bug: Lua does not check GC when creating error messages | Roberto Ierusalimschy | 2017-07-10 | 1 | -1/+2 |
| | |||||
* | coercion string->number in arithmetic operations moved to string | Roberto Ierusalimschy | 2017-07-07 | 5 | -19/+111 |
| | | | | library | ||||
* | 'OP_VARARG' has the vararg parameter as an operand | Roberto Ierusalimschy | 2017-06-29 | 4 | -9/+10 |
| | |||||
* | new type 'StackValue' for stack elements | Roberto Ierusalimschy | 2017-06-29 | 20 | -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 Ierusalimschy | 2017-06-27 | 5 | -10/+14 |
| | |||||
* | dumping ints and size_ts compacted | Roberto Ierusalimschy | 2017-06-27 | 2 | -20/+38 |
| | |||||
* | 'lineinfo' in prototypes saved as differences instead of absolute | Roberto Ierusalimschy | 2017-06-27 | 11 | -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 bytes | Roberto Ierusalimschy | 2017-06-27 | 1 | -1/+2 |
| | |||||
* | no more 'DEADKEY'. Table traversals do not need to consider dead keys; | Roberto Ierusalimschy | 2017-06-12 | 5 | -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. | ||||
* | detail | Roberto Ierusalimschy | 2017-06-09 | 2 | -4/+4 |
| | | | | (removed empty spaces at the end of lines) | ||||
* | in hash nodes, keys are stored in separate pieces to avoid wasting | Roberto Ierusalimschy | 2017-06-09 | 6 | -110/+201 |
| | | | | space with alignments | ||||
* | when assigning to a 'TValue', better assign only exact fields, | Roberto Ierusalimschy | 2017-06-01 | 1 | -6/+6 |
| | | | | to allow us to put stuff after the 'TValuefields' if needed | ||||
* | macro 'setobj2t' may not be an expression | Roberto Ierusalimschy | 2017-06-01 | 1 | -2/+3 |
| | |||||
* | macro 'luaV_fastget' may need protection ({}) to be used inside | Roberto Ierusalimschy | 2017-06-01 | 2 | -8/+14 |
| | | | | 'if's | ||||
* | avoid overflows in computation of step size | Roberto Ierusalimschy | 2017-06-01 | 2 | -3/+12 |
| | |||||
* | updated GC states in function 'T.gcstate' | Roberto Ierusalimschy | 2017-05-31 | 1 | -5/+7 |
| | |||||
* | revamping the incremental collector | Roberto Ierusalimschy | 2017-05-26 | 7 | -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 files | Roberto Ierusalimschy | 2017-05-24 | 1 | -2/+3 |
| | | | | | (Some broken compiler has problems with 'signal.h' being included without a definition for 'size_t'.) |