Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added gcc option '-Wconversion' | Roberto Ierusalimschy | 2024-07-27 | 1 | -1/+1 |
| | | | | | No warnings for standard numerical types. Still pending alternative numerical types. | ||||
* | New instruction format for SETLIST/NEWTABLE | Roberto Ierusalimschy | 2024-06-28 | 1 | -2/+4 |
| | | | | | | New instruction format 'ivABC' (a variant of iABC where parameter vC has 10 bits) allows constructors of up to 1024 elements to be coded without EXTRAARG. | ||||
* | Some 'unsigned int' changed to 'unsigned' | Roberto Ierusalimschy | 2024-03-22 | 1 | -1/+1 |
| | | | | | 'unsigned int' is too long sometimes. (We already write 'long' instead of 'long int'...) | ||||
* | Several functions turned 'static' | Roberto Ierusalimschy | 2023-05-22 | 1 | -3/+0 |
| | | | | | Several functions that were already being used only inside their own file have been declared as 'static'. | ||||
* | Details | Roberto Ierusalimschy | 2020-02-27 | 1 | -1/+1 |
| | | | | | Several details in code (e.g., moving a variable to the most inner scope that encloses its uses), comments, parameter names, extra tests. | ||||
* | Simplification in the call to 'constfolding' | Roberto Ierusalimschy | 2019-09-11 | 1 | -2/+10 |
| | |||||
* | New kind of expression VKSTR | Roberto Ierusalimschy | 2019-07-17 | 1 | -1/+0 |
| | | | | | | | String literal expressions have their own kind VKSTR, instead of the generic VK. This allows strings to "cross" functions without entering their constant tables (e.g., if they are used only by some nested function). | ||||
* | Unification of size representation in OP_NEWTABLE and OP_SETLIST | Roberto Ierusalimschy | 2019-07-15 | 1 | -1/+3 |
| | | | | | | Opcodes OP_NEWTABLE and OP_SETLIST use the same representation to store the size of the array part of a table. This new representation can go up to 2^33 (8 + 25 bits). | ||||
* | OP_NEWTABLE keeps exact size of arrays | Roberto Ierusalimschy | 2019-07-12 | 1 | -0/+1 |
| | | | | | | OP_NEWTABLE is followed by an OP_EXTRAARG, so that it can keep the exact size of the array part of the table to be created. (Functions 'luaO_int2fb'/'luaO_fb2int' were removed.) | ||||
* | First implementation of constant propagation | Roberto Ierusalimschy | 2019-07-12 | 1 | -0/+1 |
| | | | | | Local constant variables initialized with compile-time constants are optimized away from the code. | ||||
* | New implementation for constants | Roberto Ierusalimschy | 2019-07-09 | 1 | -1/+0 |
| | | | | | | | | | VLOCAL expressions keep a reference to their corresponding 'Vardesc', and 'Upvaldesc' (for upvalues) has a field 'ro' (read-only). So, it is easier to check whether a variable is read-only. The decoupling in VLOCAL between 'vidx' ('Vardesc' index) and 'sidx' (stack index) should also help the forthcoming implementation of compile-time constant propagation. | ||||
* | First take on constant propagation | Roberto Ierusalimschy | 2019-07-01 | 1 | -0/+1 |
| | |||||
* | Big revamp in the implmentation of labels/gotos | Roberto Ierusalimschy | 2018-10-29 | 1 | -3/+0 |
| | | | | | | | | Added restriction that, when a label is created, there cannot be another label with the same name visible. That allows backward goto's to be resolved when they are read. Backward goto's get a close if they jump out of the scope of some variable; labels get a close only if previous goto to it jumps out of the scope of some upvalue. | ||||
* | Removed extra information from RCS keyword strings | Roberto Ierusalimschy | 2018-08-23 | 1 | -1/+1 |
| | | | | | Version numbers and dates (mostly wrong) from RCS keyword strings removed from all source files; only the file name are kept. | ||||
* | no more nil-in-table | Roberto Ierusalimschy | 2018-04-04 | 1 | -2/+1 |
| | |||||
* | missing LUAI_FUNC in prototype for 'luaK_patchgoto' | Roberto Ierusalimschy | 2018-03-19 | 1 | -2/+3 |
| | |||||
* | new experimental syntax using reserved word 'undef' | Roberto Ierusalimschy | 2018-03-07 | 1 | -1/+3 |
| | |||||
* | new auxiliary function 'luaK_isKint' + removal of 'luaK_needclose', | Roberto Ierusalimschy | 2017-12-18 | 1 | -2/+2 |
| | | | | which was not being used anywhere. | ||||
* | small peephole optimizations | Roberto Ierusalimschy | 2017-11-30 | 1 | -1/+2 |
| | |||||
* | eplicit 1-bit opcode operand 'k' | Roberto Ierusalimschy | 2017-10-04 | 1 | -2/+6 |
| | |||||
* | no more 'getBMode'-'getCMode' (imprecise + we will need more space | Roberto Ierusalimschy | 2017-09-28 | 1 | -2/+2 |
| | | | | for op mode) + better control of op modes | ||||
* | jumps do not close upvalues (to be faster and simpler); | Roberto Ierusalimschy | 2017-09-13 | 1 | -2/+4 |
| | | | | | | explicit instruction to close upvalues; command 'break' not handled like a 'goto' (to optimize removal of uneeded 'close' instructions) | ||||
* | new opcode LOADI (for loading immediate integers) | Roberto Ierusalimschy | 2017-04-20 | 1 | -3/+2 |
| | |||||
* | 'getcode' -> 'getinstruction' | Roberto Ierusalimschy | 2016-01-05 | 1 | -2/+3 |
| | |||||
* | first implementation of '<<', '>>', and '~' (bitwise not) | Roberto Ierusalimschy | 2013-12-30 | 1 | -2/+3 |
| | |||||
* | first implementation of bitwise operators '&' (band), '|' (bor), | Roberto Ierusalimschy | 2013-12-18 | 1 | -1/+2 |
| | | | | and '~' (bxor) | ||||
* | new order for binary operations (grouping them by type of result) | Roberto Ierusalimschy | 2013-12-16 | 1 | -2/+4 |
| | |||||
* | new operation '//' (integer division) | Roberto Ierusalimschy | 2013-04-26 | 1 | -2/+2 |
| | |||||
* | default increment for 'for' loop is an integer (1, not 1.0) | Roberto Ierusalimschy | 2013-04-25 | 1 | -2/+2 |
| | |||||
* | 'luaK_goiffalse' exported | Roberto Ierusalimschy | 2011-08-30 | 1 | -1/+2 |
| | |||||
* | new instruction OP_LOADKX (to replace OP_LOADK with extra argument) | Roberto Ierusalimschy | 2011-04-07 | 1 | -4/+2 |
| | |||||
* | new scheme to close upvalues in 'break'; jump instructions may | Roberto Ierusalimschy | 2011-02-01 | 1 | -1/+2 |
| | | | | do the close, avoiding the need for a OP_CLOSE instruction | ||||
* | better organization for fields in struct 'expdesc' | Roberto Ierusalimschy | 2010-07-02 | 1 | -2/+2 |
| | |||||
* | better line numbers for function calls and unary/binary operators + | Roberto Ierusalimschy | 2010-04-17 | 1 | -3/+4 |
| | | | | null statement + no more "ambiguous syntax" restriction | ||||
* | new instructions to optimize indexing on upvalues | Roberto Ierusalimschy | 2010-02-26 | 1 | -1/+2 |
| | |||||
* | limit of constants per function changed to 2^26 using extra arguments | Roberto Ierusalimschy | 2009-09-23 | 1 | -2/+4 |
| | | | | to opcodes LOADK, GETGLOBAL, and SETGLOBAL | ||||
* | small optimization (reorder of BinOpr enum to unify some cases | Roberto Ierusalimschy | 2009-06-18 | 1 | -4/+4 |
| | | | | in switches) | ||||
* | new function 'luaK_codek' (detail) | Roberto Ierusalimschy | 2009-06-10 | 1 | -1/+2 |
| | |||||
* | some cleaning | Roberto Ierusalimschy | 2008-10-28 | 1 | -1/+3 |
| | |||||
* | unused macro | Roberto Ierusalimschy | 2006-03-21 | 1 | -2/+1 |
| | |||||
* | more privacy | Roberto Ierusalimschy | 2005-11-08 | 1 | -3/+1 |
| | |||||
* | numeral expressions keep their values in struct 'expdesc' | Roberto Ierusalimschy | 2005-10-03 | 1 | -3/+3 |
| | |||||
* | new method to handle tests without values (negative values) | Roberto Ierusalimschy | 2005-08-29 | 1 | -1/+2 |
| | |||||
* | details | Roberto Ierusalimschy | 2005-05-20 | 1 | -2/+2 |
| | |||||
* | added LUAI_FUNC to functions not in the API | Roberto Ierusalimschy | 2005-04-25 | 1 | -31/+31 |
| | |||||
* | new operation *t (for size of t) (may yet be removed...) | Roberto Ierusalimschy | 2005-03-16 | 1 | -2/+2 |
| | |||||
* | new `mod' (`%') operator | Roberto Ierusalimschy | 2005-03-08 | 1 | -2/+2 |
| | |||||
* | small optimization for boolean constants + new format for SETLIST opcode | Roberto Ierusalimschy | 2004-10-04 | 1 | -1/+2 |
| | |||||
* | new way to use `vararg' parameters (with `...') | Roberto Ierusalimschy | 2004-05-31 | 1 | -2/+5 |
| | |||||
* | OP_TFORLOOP uses extra stack space | Roberto Ierusalimschy | 2002-12-11 | 1 | -1/+2 |
| |