Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed missing GC barriers in compiler and undump | Roberto Ierusalimschy | 2020-06-18 | 1 | -0/+3 |
| | | | | | While building a new prototype, the GC needs barriers for every object (strings and nested prototypes) that is attached to the new prototype. | ||||
* | Lua 5.3.5 ported to gitv5.3.5 | Roberto Ierusalimschy | 2018-12-17 | 1 | -2/+2 |
| | | | | | | | This is the first commit for the branch Lua 5.3. All source files were copied from the official distribution of 5.3.5 in the Lua site. The test files are the same of 5.3.4. The manual came from the previous RCS repository, revision 1.167.1.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.) | ||||
* | detail (cleaned whitespaces at end of lines) | Roberto Ierusalimschy | 2011-07-15 | 1 | -3/+3 |
| | |||||
* | small simplifications (and assert was wrongly written) | Roberto Ierusalimschy | 2011-07-02 | 1 | -4/+2 |
| | |||||
* | back to "one-label-per-block" | Roberto Ierusalimschy | 2011-06-27 | 1 | -20/+13 |
| | |||||
* | label syntax changed to '::label::' | Roberto Ierusalimschy | 2011-06-20 | 1 | -6/+6 |
| | |||||
* | label names must be unique inside a function | Roberto Ierusalimschy | 2011-06-16 | 1 | -12/+27 |
| | |||||
* | comment | Roberto Ierusalimschy | 2011-05-02 | 1 | -2/+2 |
| | |||||
* | local function name only visible to debug info after being initialized | Roberto Ierusalimschy | 2011-04-18 | 1 | -1/+6 |
| |