aboutsummaryrefslogtreecommitdiff
path: root/ldo.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* back to 'CallInfo' (no gains with its removal)Roberto Ierusalimschy2017-11-071-95/+95
|
* no more 'CallInfo' structureRoberto Ierusalimschy2017-11-041-42/+22
|
* 'lua_Debug' not using 'CallInfo'Roberto Ierusalimschy2017-11-031-3/+3
|
* no more useful fields in CallInfoRoberto Ierusalimschy2017-11-031-24/+30
|
* more fields moved out of 'CallInfo'Roberto Ierusalimschy2017-11-031-37/+43
|
* new API for 'lua_resume' + cleaning the uses of the 'extra' field inRoberto Ierusalimschy2017-11-021-6/+8
| | | | 'CallInfo'
* using 'L->func' when possibleRoberto Ierusalimschy2017-11-011-5/+5
|
* baby steps to remove 'CallInfo': keeping 'L->func' correctRoberto Ierusalimschy2017-10-311-3/+11
|
* no more reference 'memerrmsg' + new reference to "n"Roberto Ierusalimschy2017-07-271-2/+3
| | | | | | (both can be retrieved by 'luaS_newliteral' without creating anything, because they are fixed, but "n" deserves fast access while 'memerrmsg' does not)
* new type 'StackValue' for stack elementsRoberto Ierusalimschy2017-06-291-18/+20
| | | | (we may want to put extra info there in the future)
* details (using proper version of 'setobj')Roberto Ierusalimschy2017-05-231-2/+2
|
* no more field 'base' in CallInfo (base is always equal to 'func + 1',Roberto Ierusalimschy2017-05-131-4/+1
| | | | with old/new vararg implementation)
* back to old-style vararg system (with vararg table collecting extraRoberto Ierusalimschy2017-05-131-35/+6
| | | | arguments)
* 'moveresults' and 'luaD_poscall' moved up in the fileRoberto Ierusalimschy2016-12-131-67/+67
|
* detail (ANSI C does not accept empty arguments to macros)Roberto Ierusalimschy2016-09-201-3/+3
|
* cleaner and more correct code for 'luaD_shrinkstack' (the oldRoberto Ierusalimschy2016-09-081-5/+8
| | | | | test "inuse <= LUAI_MAXSTACK" for stack overflow is not correct, as the real maximum usable size is "LUAI_MAXSTACK - EXTRA_STACK")
* comments + removed unused variableRoberto Ierusalimschy2016-09-051-10/+6
|
* do not eliminate varargs from functions that do not use varargsRoberto Ierusalimschy2016-08-011-4/+4
| | | | (confuses the debug lib and gains very little in performance)
* bug: When a coroutine tries to resume a non-suspended coroutine,Roberto Ierusalimschy2016-07-291-16/+19
| | | | | it coud do some mess (and break C assertions) before detecting the error. Now it tests for those errors before anything else.
* comments (about hooks vs signals)Roberto Ierusalimschy2015-12-161-2/+7
|
* details (typos in comments)Roberto Ierusalimschy2015-11-191-3/+3
|
* trying to optimize a little 'luaD_poscall'Roberto Ierusalimschy2015-11-131-21/+51
|
* in 'luaD_call', use two functions instead of one with fixed booleanRoberto Ierusalimschy2015-11-021-10/+29
| | | | | argument + stack error handling in 'luaD_call' moved to a separated function
* macro 'incr_top' replaced by function 'luaD_inctop'. (It is not usedRoberto Ierusalimschy2015-11-021-1/+14
| | | | in critical time pathes, can save a few bytes without the macro)
* in 'luaD_precall', in vararg functions, complete missing parametersRoberto Ierusalimschy2015-11-021-15/+13
| | | | | only after moving them to final place (avoids checking the stack again)
* using more "conventional" loops in 'luaD_poscall' (probably a littleRoberto Ierusalimschy2015-11-021-7/+13
| | | | more efficient?)
* function prepares vararg only if it really uses them (chunksRoberto Ierusalimschy2015-10-281-2/+2
| | | | are always declared vararg but seldom uses them)
* comments for luaD_precall/luaD_poscallRoberto Ierusalimschy2015-10-281-2/+12
|
* details (avoid 'case' inside block + avoid using one variable forRoberto Ierusalimschy2015-10-281-5/+5
| | | | two roles)
* small changes to allow 'precall' to spend time preserving 'func'Roberto Ierusalimschy2015-10-211-19/+21
| | | | only when needed (that is, when stack actually changes)
* long strings are created directly in final position when possibleRoberto Ierusalimschy2015-09-081-2/+2
| | | | | (instead of using an auxiliar buffer to first create the string and then allocate the final string and copy result there)
* details (use original type when saving variable's value)Roberto Ierusalimschy2015-06-181-2/+2
|
* bug: interpreter cannot pop activation frame before calling returnRoberto Ierusalimschy2015-05-221-9/+9
| | | | | hook (as it may want to access local variables active by the end of the function)
* calls to 'luaC_checkGC' in luaD_precall moved near to 'luaD_checkstack'Roberto Ierusalimschy2015-03-301-4/+4
| | | | (which is what can need memory)
* macro 'luai_apicheck'/'api_check' back with a 'lua_State' parameterRoberto Ierusalimschy2015-03-061-2/+2
| | | | (some people use it)
* no need to ensure any stack space for panic function + some changesRoberto Ierusalimschy2014-11-111-16/+12
| | | | in 'tryfuncTM' (small simplification)
* bug: memory error in panic mode does not push error message onRoberto Ierusalimschy2014-11-101-2/+14
| | | | the stack + stack check in tryfuncTM + comments
* comments (references to "ANSI C" changed to "ISO C", which is theRoberto Ierusalimschy2014-11-021-2/+2
| | | | international name
* added include for 'lprefix.h', for stuff that must be added beforeRoberto Ierusalimschy2014-11-021-4/+6
| | | | any other header file
* `name' in comments changed to 'name'Roberto Ierusalimschy2014-10-251-4/+4
|
* macros 'LUA_QL'/'LUA_QL' deprecatedRoberto Ierusalimschy2014-10-171-2/+2
|
* detail ('G(L)' -> 'g')Roberto Ierusalimschy2014-10-081-6/+7
|
* 'lua_Kcontext' -> 'lua_KContext'Roberto Ierusalimschy2014-10-071-2/+2
|
* 'lua_Ctx' -> 'lua_Kcontext'Roberto Ierusalimschy2014-08-011-2/+2
|
* new type 'lua_Ctx' for continuation-function contexts (to allow typeRoberto Ierusalimschy2014-07-171-2/+3
| | | | to be configurable)
* removed unused parameter Ä'L' in macro 'api_check' and companyRoberto Ierusalimschy2014-07-151-2/+2
|
* detail (typos in comments)Roberto Ierusalimschy2014-06-301-2/+2
|
* more precision between closure types ('LClosure' x 'CClosure')Roberto Ierusalimschy2014-06-191-4/+4
|
* cleaner way to handle bit CIST_OAH (with auxiliar macros)Roberto Ierusalimschy2014-06-121-2/+2
|
* janitor work on 'lua_resume' and related codeRoberto Ierusalimschy2014-06-111-28/+32
|