summaryrefslogtreecommitdiff
path: root/lcode.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* first implementation of literal integers (no constant folding yet)Roberto Ierusalimschy2013-04-161-9/+29
|
* (no commit message)Roberto Ierusalimschy2013-04-151-5/+4
|
* remove of unecessary luaD_checkstack. (In some cases, C shouldRoberto Ierusalimschy2012-08-161-5/+4
| | | | | ensure stack space; in others, Lua can use the extra slots for temporary values.)
* details (remove of some extra spaces)Roberto Ierusalimschy2012-08-141-2/+2
|
* 'luaK_goiffalse' exportedRoberto Ierusalimschy2011-08-301-2/+2
|
* comments about use of 'luaH_set'Roberto Ierusalimschy2011-08-151-1/+3
|
* no more field 'L' in 'FuncState'Roberto Ierusalimschy2011-07-271-7/+7
|
* detail (cleaned whitespaces at end of lines)Roberto Ierusalimschy2011-07-151-3/+3
|
* more uniform names for 'equalobj'-related functionsRoberto Ierusalimschy2011-05-311-2/+2
|
* no need for two different implementations for equality (one raw andRoberto Ierusalimschy2011-05-311-2/+3
| | | | one with metamethods)
* bug in OP_SELF when method name goes to a registerRoberto Ierusalimschy2011-04-281-7/+7
|
* change in opcode OP_LOADNIL: B is used as a counter instead of aRoberto Ierusalimschy2011-04-191-7/+11
| | | | | register. (Avoids an assignment to R(B), not present in any other instruction.)
* new instruction OP_LOADKX (to replace OP_LOADK with extra argument)Roberto Ierusalimschy2011-04-071-5/+5
|
* new scheme to close upvalues in 'break'; jump instructions mayRoberto Ierusalimschy2011-02-011-1/+14
| | | | do the close, avoiding the need for a OP_CLOSE instruction
* bug in some short-circuit optimizationsRoberto Ierusalimschy2011-01-311-21/+7
|
* new way to distinguish between indexing tables in registers andRoberto Ierusalimschy2010-07-071-16/+12
| | | | | tables in upvalues (+ fixed small bug when checking conflicts in multiple assignments)
* better organization for fields in struct 'expdesc'Roberto Ierusalimschy2010-07-021-42/+43
|
* typo in commentsRoberto Ierusalimschy2010-06-301-3/+3
|
* better line numbers for function calls and unary/binary operators +Roberto Ierusalimschy2010-04-171-8/+11
| | | | null statement + no more "ambiguous syntax" restriction
* first version of _ENV; no more global variablesRoberto Ierusalimschy2010-03-121-12/+2
|
* new instructions to optimize indexing on upvaluesRoberto Ierusalimschy2010-02-261-2/+20
|
* added casts from int to enumerations to follow C++ rulesRoberto Ierusalimschy2010-01-111-4/+4
|
* limit of constants per function changed to 2^26 using extra argumentsRoberto Ierusalimschy2009-09-231-49/+54
| | | | to opcodes LOADK, GETGLOBAL, and SETGLOBAL
* "stange numbers" (-0 and NaN) also go to the constant table (asRoberto Ierusalimschy2009-08-101-16/+29
| | | | | strings with their binary representation). Therefore, constant folding may produce these results.
* small optimization (reorder of BinOpr enum to unify some casesRoberto Ierusalimschy2009-06-181-13/+14
| | | | in switches)
* constant folding uses 'luaO_arith' to perform basic operationsRoberto Ierusalimschy2009-06-171-17/+5
|
* BUG: "(((1 or false) and true) or false)" gives wrong resultRoberto Ierusalimschy2009-06-151-9/+15
|
* new function 'luaK_codek' (detail)Roberto Ierusalimschy2009-06-101-3/+11
|
* avoid constant folding for -0 (to avoid it colapsing to 0)Roberto Ierusalimschy2008-04-071-3/+3
|
* SETLIST extra argument now is an "instruction" (OP_EXTRAARG)Roberto Ierusalimschy2008-04-021-3/+11
|
* bug: code generated for "-nil", "-true", and "-false" is wrongRoberto Ierusalimschy2007-05-041-6/+7
|
* no more optimization to avoid LOADNIL at function startRoberto Ierusalimschy2007-03-271-3/+1
|
* bug: wrong code when constant is coded after it should beRoberto Ierusalimschy2007-03-091-9/+22
|
* detailRoberto Ierusalimschy2006-10-101-6/+6
|
* detailRoberto Ierusalimschy2006-09-221-2/+3
|
* detailsRoberto Ierusalimschy2006-09-141-4/+4
|
* little better error messages for internal arrays overflowsRoberto Ierusalimschy2006-09-141-5/+4
|
* macros luai_num* take a state L (when available) as argument, to allowRoberto Ierusalimschy2006-08-071-9/+9
| | | | them to generate errors (and other facilities)
* detailsRoberto Ierusalimschy2006-06-221-11/+15
|
* BUG: should copy the union, not (some of) its fieldsRoberto Ierusalimschy2006-03-211-8/+6
|
* small changes in castsRoberto Ierusalimschy2005-12-221-5/+5
|
* new macro luai_numisnanRoberto Ierusalimschy2005-11-251-2/+2
|
* 'mod' may also raise an error when applied to zeroRoberto Ierusalimschy2005-11-161-2/+4
|
* more privacyRoberto Ierusalimschy2005-11-081-3/+3
|
* no more L in numer-operator macros (some functions that use those macrosRoberto Ierusalimschy2005-10-241-13/+13
| | | | have no access to L)
* small optimizationRoberto Ierusalimschy2005-10-131-15/+12
|
* constant folding optimizationsRoberto Ierusalimschy2005-10-091-93/+134
|
* small optimization for local declarations without initializationsRoberto Ierusalimschy2005-09-301-9/+12
|
* new method to handle tests without values (negative values)Roberto Ierusalimschy2005-08-291-30/+39
|
* new coding for while and repeat (with new scoping for repeat)Roberto Ierusalimschy2005-08-171-5/+5
|