Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | jumps in 'for' loops don't need to be signed | Roberto Ierusalimschy | 2017-08-14 | 1 | -6/+24 | |
| | ||||||
* | comment | Roberto Ierusalimschy | 2017-08-12 | 1 | -2/+2 | |
| | ||||||
* | 'OP_VARARG' has the vararg parameter as an operand | Roberto Ierusalimschy | 2017-06-29 | 1 | -2/+3 | |
| | ||||||
* | new type 'StackValue' for stack elements | Roberto Ierusalimschy | 2017-06-29 | 1 | -3/+3 | |
| | | | | (we may want to put extra info there in the future) | |||||
* | 'lineinfo' in prototypes saved as differences instead of absolute | Roberto Ierusalimschy | 2017-06-27 | 1 | -4/+9 | |
| | | | | | | 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.) | |||||
* | back to old-style vararg system (with vararg table collecting extra | Roberto Ierusalimschy | 2017-05-13 | 1 | -1/+10 | |
| | | | | arguments) | |||||
* | bug: cannot "skip" labels after if-goto before the jump over the | Roberto Ierusalimschy | 2017-04-29 | 1 | -2/+2 | |
| | | | | 'then' part | |||||
* | new opcodes for table access with constant keys (strings and integers) | Roberto Ierusalimschy | 2017-04-28 | 1 | -16/+24 | |
| | ||||||
* | new opcode LOADI (for loading immediate integers) | Roberto Ierusalimschy | 2017-04-20 | 1 | -2/+2 | |
| | ||||||
* | do not eliminate varargs from functions that do not use varargs | Roberto Ierusalimschy | 2016-08-01 | 1 | -4/+3 | |
| | | | | (confuses the debug lib and gains very little in performance) | |||||
* | bug: expression list with four or more expressions in | Roberto Ierusalimschy | 2016-06-22 | 1 | -5/+4 | |
| | | | | | a 'for' loop can crash the interpreter. ('adjust_assign' must remove extra expresssions from its registers.) | |||||
* | 'singlevaraux' returns result only in 'var->k' | Roberto Ierusalimschy | 2016-05-13 | 1 | -10/+10 | |
| | ||||||
* | bug: label between local definitions can mix-up their initializations | Roberto Ierusalimschy | 2016-03-07 | 1 | -2/+2 | |
| | ||||||
* | 'getcode' -> 'getinstruction' | Roberto Ierusalimschy | 2016-01-05 | 1 | -4/+4 | |
| | ||||||
* | detail (moving bodies of 'while' to a separate line) | Roberto Ierusalimschy | 2015-12-09 | 1 | -5/+9 | |
| | ||||||
* | macro 'incr_top' replaced by function 'luaD_inctop'. (It is not used | Roberto Ierusalimschy | 2015-11-02 | 1 | -3/+3 | |
| | | | | in critical time pathes, can save a few bytes without the macro) | |||||
* | function prepares vararg only if it really uses them (chunks | Roberto Ierusalimschy | 2015-10-28 | 1 | -3/+4 | |
| | | | | are always declared vararg but seldom uses them) | |||||
* | details | Roberto Ierusalimschy | 2014-12-27 | 1 | -4/+4 | |
| | ||||||
* | removed unneeded barrier ('from' must be white) | Roberto Ierusalimschy | 2014-11-27 | 1 | -2/+2 | |
| | ||||||
* | added include for 'lprefix.h', for stuff that must be added before | Roberto Ierusalimschy | 2014-11-02 | 1 | -4/+6 | |
| | | | | any other header file | |||||
* | `name' in comments changed to 'name' | Roberto Ierusalimschy | 2014-10-25 | 1 | -31/+31 | |
| | ||||||
* | macros 'LUA_QL'/'LUA_QL' deprecated | Roberto Ierusalimschy | 2014-10-17 | 1 | -7/+7 | |
| | ||||||
* | 'iswhite' and related macros now can work directly on any object | Roberto Ierusalimschy | 2014-07-21 | 1 | -4/+4 | |
| | | | | (no need to convert to 'GCObject') | |||||
* | type 'TString' refers directly to the structure inside the union | Roberto Ierusalimschy | 2014-07-18 | 1 | -4/+4 | |
| | | | | (union used only for size purposes) | |||||
* | added check for conversion 'obj2gco' (and corrections for small | Roberto Ierusalimschy | 2014-07-18 | 1 | -4/+4 | |
| | | | | problems detected by this check) | |||||
* | more precision between closure types ('LClosure' x 'CClosure') | Roberto Ierusalimschy | 2014-06-19 | 1 | -5/+5 | |
| | ||||||
* | first implementation of '<<', '>>', and '~' (bitwise not) | Roberto Ierusalimschy | 2013-12-30 | 1 | -7/+11 | |
| | ||||||
* | first implementation of bitwise operators '&' (band), '|' (bor), | Roberto Ierusalimschy | 2013-12-18 | 1 | -7/+11 | |
| | | | | and '~' (bxor) | |||||
* | new order for binary operations (grouping them by type of result) | Roberto Ierusalimschy | 2013-12-16 | 1 | -9/+11 | |
| | ||||||
* | bug (GC can collect long identifier during parser) + change (using | Roberto Ierusalimschy | 2013-08-30 | 1 | -28/+17 | |
| | | | | a single constant table for all functions in a chunk) | |||||
* | added 'local' bit (true => object is only refered by local variables) | Roberto Ierusalimschy | 2013-08-16 | 1 | -1/+2 | |
| | ||||||
* | new operation '//' (integer division) | Roberto Ierusalimschy | 2013-04-26 | 1 | -2/+4 | |
| | ||||||
* | default increment for 'for' loop is an integer (1, not 1.0) | Roberto Ierusalimschy | 2013-04-25 | 1 | -2/+2 | |
| | ||||||
* | first implementation of literal integers (no constant folding yet) | Roberto Ierusalimschy | 2013-04-16 | 1 | -4/+9 | |
| | ||||||
* | comments | Roberto Ierusalimschy | 2013-02-06 | 1 | -3/+6 | |
| | ||||||
* | detail (avoid being picky about conversion from 'unsigned char' | Roberto Ierusalimschy | 2012-08-06 | 1 | -2/+2 | |
| | | | | to 'int') | |||||
* | extend optimization of 'if a then break end' for the case | Roberto Ierusalimschy | 2012-05-20 | 1 | -4/+10 | |
| | | | | 'if a then break; end' | |||||
* | no more 'Proto' objects on the stack. Protos are anchored on outer | Roberto Ierusalimschy | 2012-05-08 | 1 | -45/+52 | |
| | | | | Protos or on a Closure, which must be created before the Proto. | |||||
* | primaryexp -> suffixedexp; prefixexp -> primaryexp + more 'syntactical' | Roberto Ierusalimschy | 2012-04-20 | 1 | -15/+17 | |
| | | | | way to distinguish between function calls and assignments | |||||
* | 'eqstr' -> 'luaS_eqstr' | Roberto Ierusalimschy | 2012-01-23 | 1 | -8/+8 | |
| | ||||||
* | old error messages may be misleading | Roberto Ierusalimschy | 2011-12-02 | 1 | -4/+4 | |
| | ||||||
* | more uses of 'l_noret' | Roberto Ierusalimschy | 2011-11-30 | 1 | -7/+5 | |
| | ||||||
* | detail (avoid applying macro 'getstr' with a function-call argument) | Roberto Ierusalimschy | 2011-10-31 | 1 | -2/+3 | |
| | ||||||
* | silly bug in 5.2 beta: assignment conflict code did not test to check | Roberto Ierusalimschy | 2011-10-24 | 1 | -17/+20 | |
| | | | | whether variable was a table element | |||||
* | lint (unreachable code) | Roberto Ierusalimschy | 2011-09-30 | 1 | -2/+2 | |
| | ||||||
* | small bug in if-goto optimization: block must be closed ('leaveblock') | Roberto Ierusalimschy | 2011-09-14 | 1 | -5/+8 | |
| | | | | *before* the jump out ('escapelist') | |||||
* | optimization for |if cond then goto| | Roberto Ierusalimschy | 2011-08-30 | 1 | -18/+37 | |
| | ||||||
* | cleaner code for 'if' construct | Roberto Ierusalimschy | 2011-08-25 | 1 | -20/+14 | |
| | ||||||
* | 'nCcalls' should be local to each thread, as each thread may have its | Roberto Ierusalimschy | 2011-08-23 | 1 | -6/+6 | |
| | | | | own C stack (with LuaThreads or something similar) | |||||
* | reducing even more use of C stack by the parser: struct 'FuncState' | Roberto Ierusalimschy | 2011-07-27 | 1 | -12/+12 | |
| | | | | | does not need field 'L' + number of labels/gotos in a chunk may be limited to SHRT_MAX. (Also removed some non-needed 'unsigned's.) |