summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* new opcode 'PREPVARARG'Roberto Ierusalimschy2018-02-077-29/+50
| | | | (avoids test for vararg function in all function calls)
* detailRoberto Ierusalimschy2018-02-071-6/+6
| | | | (order of 'OT' and 'IT' bits corresponds with macro 'opmode')
* call hooks for Lua functions called by 'luaV_execute'Roberto Ierusalimschy2018-02-064-21/+23
|
* GC default mode for the stand-alone interpreter is generational modeRoberto Ierusalimschy2018-02-061-1/+2
|
* small corrections in generational modeRoberto Ierusalimschy2018-02-051-7/+9
| | | | | (cannot call finalizers in emergency collections + should set everything before calling finalizers)
* default for minor collection intervals a little largerRoberto Ierusalimschy2018-02-051-4/+4
|
* 'gcemergency' should be zero before any memory allocationRoberto Ierusalimschy2018-02-051-2/+2
|
* 'collectgarbage' returns old mode when changing modeRoberto Ierusalimschy2018-02-052-6/+14
|
* detailRoberto Ierusalimschy2018-01-291-2/+2
| | | | (uses a reserved-format name for an internal type in the registry)
* warnings in VS (implicit casts from ptrdiff_t to int)Roberto Ierusalimschy2018-01-293-6/+6
|
* janitor work on castsRoberto Ierusalimschy2018-01-2818-76/+83
|
* bug in tailcall of vararg functionsRoberto Ierusalimschy2018-01-283-24/+26
| | | | (when adjusting missing parameters)
* calling a vararg function needs to check GCRoberto Ierusalimschy2018-01-282-8/+10
| | | | (because it creates a new table)
* detail (comment)Roberto Ierusalimschy2018-01-281-2/+2
|
* OP_CONCAT does not move its result (to simplify its execution)Roberto Ierusalimschy2018-01-273-51/+61
|
* commentsRoberto Ierusalimschy2018-01-181-11/+13
|
* 'OP_TAILCALL' calling C functions finishes the call and returnsRoberto Ierusalimschy2018-01-141-5/+10
| | | | (instead of waiting for following 'OP_RETURN')
* 'luaD_tryfuncTM' can ensure it does not change the stackRoberto Ierusalimschy2018-01-103-13/+8
|
* error handler in protected calls must be a functionRoberto Ierusalimschy2018-01-102-3/+4
|
* avoid jumping into a variable scope (C++ does not allow that)Roberto Ierusalimschy2018-01-091-8/+8
|
* keep more opcode arguments byte-alignedRoberto Ierusalimschy2018-01-093-24/+28
|
* typos in commentsRoberto Ierusalimschy2017-12-303-8/+8
|
* new command 'print' (to print literal strings) in mini-languageRoberto Ierusalimschy2017-12-291-2/+6
|
* another try with table resize.Roberto Ierusalimschy2017-12-291-41/+55
| | | | | (Old version was leaving some elements unanchored while allocating new memory)
* by-one error when filling missing arguments in a tail callRoberto Ierusalimschy2017-12-291-3/+3
|
* keep control of stack top in Lua functions concentrated in 'luaV_execute'Roberto Ierusalimschy2017-12-284-48/+40
|
* when calling a hook, cannot decrease 'ci->top' (to preserve stackRoberto Ierusalimschy2017-12-281-6/+6
| | | | size if the stack is reallocated)
* commentRoberto Ierusalimschy2017-12-281-3/+2
|
* assert cannot use instruction after the lastRoberto Ierusalimschy2017-12-221-2/+2
|
* new macros 'isOT'/'isIT'Roberto Ierusalimschy2017-12-225-94/+104
| | | | | (plus exchanged parameters of OP_VARARG to make it similar to other 'isOT' instructions)
* when running Lua code, there is no need to keep 'L->top' "correct";Roberto Ierusalimschy2017-12-205-41/+53
| | | | set it only when needed.
* new macro 'isLuacode' (to distinguish regular Lua code fromRoberto Ierusalimschy2017-12-194-11/+16
| | | | hooks, where C code can run inside a Lua function).
* no need to save 'pc' in case of allocation errorsRoberto Ierusalimschy2017-12-191-3/+1
| | | | (allocation errors do not call message handlers)
* new opcodes 'FORLOOP1'/'FORPREP1' for "basic for" (integer variableRoberto Ierusalimschy2017-12-184-18/+73
| | | | with increment of 1)
* new auxiliary function 'luaK_isKint' + removal of 'luaK_needclose',Roberto Ierusalimschy2017-12-182-18/+12
| | | | which was not being used anywhere.
* default now is compiling without compatibility options + smallerRoberto Ierusalimschy2017-12-181-14/+14
| | | | | stack size in debug mode (clang uses still more stack space when debugging).
* 'rehash' -> 'tablerehash'Roberto Ierusalimschy2017-12-181-6/+6
| | | | (to avoid name colisions when compiling Lua as a single file)
* details (cleaning uses of 'exp1')Roberto Ierusalimschy2017-12-181-8/+5
|
* some cleaning on signed opcode parametersRoberto Ierusalimschy2017-12-153-27/+50
|
* (1 << 31) with signed integer has undefined behavior in CRoberto Ierusalimschy2017-12-151-2/+2
|
* 'Proto->numparams' does not include vararg parameterRoberto Ierusalimschy2017-12-154-12/+11
| | | | (one less subtraction when calling functions...)
* 'VRELOCABLE' -> 'VRELOC'Roberto Ierusalimschy2017-12-143-22/+22
|
* bug: memory-allocation error when resizing a table can leave itRoberto Ierusalimschy2017-12-131-2/+27
| | | | in an inconsistent state.
* new opcodes BANDK/BORK/BXORK. (They do not use immediate operandsRoberto Ierusalimschy2017-12-137-23/+107
| | | | | because, too often, masks in bitwise operations are integers larger than one byte.)
* Code should not change the stack level after the initialization of aRoberto Ierusalimschy2017-12-131-3/+3
| | | | string buffer.
* when shrinking stack, always shrinks the CI list.Roberto Ierusalimschy2017-12-121-5/+2
| | | | (Stack overflow is not corelated to CI overflow anymore.)
* back to reallocation when resizing the string table.Roberto Ierusalimschy2017-12-121-30/+60
| | | | | (Not a good idea to explicitly allocate new memory when shrinking something.)
* allows memory-allocation errors when shrinking blocksRoberto Ierusalimschy2017-12-111-2/+3
|
* more freedom in handling memory-allocation errors (not all allocationsRoberto Ierusalimschy2017-12-111-2/+2
| | | | | automatically raise an error), which allows fixing a bug when resizing a table.
* 'luaD_growstack' cannot raise any errors when 'raiseerror' isRoberto Ierusalimschy2017-12-112-17/+30
| | | | false (+ some comments)