Roberto Ierusalimschy
|
04587b6256
macro with empty argument can be seen as macro with no argument; better
|
9 лет назад |
Roberto Ierusalimschy
|
bde03eeb48
in 'table.sort': tighter checks for invalid order function +
|
9 лет назад |
Roberto Ierusalimschy
|
330d426ffd
avoid the use of deprecated functions 'luaL_checkunsigned'/
|
9 лет назад |
Roberto Ierusalimschy
|
02340375be
janitor work on 'table.sort': added comments, partition code moved
|
9 лет назад |
Roberto Ierusalimschy
|
5100bc8aa1
no need for a special case to get long strings (not that common)
|
10 лет назад |
Roberto Ierusalimschy
|
ebb2afa54b
allow 'set' macros to be used when 'L' is not available (as it was
|
10 лет назад |
Roberto Ierusalimschy
|
7485512384
added comment and assert about dead keys
|
10 лет назад |
Roberto Ierusalimschy
|
46de77b219
bug: despite its name, 'luaH_getstr' did not work for strings in
|
10 лет назад |
Roberto Ierusalimschy
|
d356183402
new function 'luaS_hashlongstr'
|
10 лет назад |
Roberto Ierusalimschy
|
e61ee8a036
in 'luaD_call', use two functions instead of one with fixed boolean
|
10 лет назад |
Roberto Ierusalimschy
|
ff1289a361
in 'luaD_call', use two functions instead of one with fixed boolean
|
10 лет назад |
Roberto Ierusalimschy
|
cd73f3ccc5
now that we have a counter for CallInfos, use it for a more
|
10 лет назад |
Roberto Ierusalimschy
|
8c1fb91802
macro 'incr_top' replaced by function 'luaD_inctop'. (It is not used
|
10 лет назад |
Roberto Ierusalimschy
|
33b366ec32
added counters for total and individual CallInfo entries (to allow
|
10 лет назад |
Roberto Ierusalimschy
|
c5363a1b58
in 'luaD_precall', in vararg functions, complete missing parameters
|
10 лет назад |
Roberto Ierusalimschy
|
332a06bbd1
'luaO_pushvfstring' now uses 'incr_top' to increment top.
|
10 лет назад |
Roberto Ierusalimschy
|
ffd0d1232d
using more "conventional" loops in 'luaD_poscall' (probably a little
|
10 лет назад |
Roberto Ierusalimschy
|
07a2dcacbf
flag CIST_REENTRY changed to CIST_FRESH (its negation); fresh invocations
|
10 лет назад |
Roberto Ierusalimschy
|
c874abac98
with 'fast tracks', there is no need to do raw accesses in 'ipairs'
|
10 лет назад |
Roberto Ierusalimschy
|
789e423b32
corrected comparisons of signed (int) with unsigned (size_t)
|
10 лет назад |
Roberto Ierusalimschy
|
96ec8671b1
macro 'buff2num' replaced by its body (it caused more harm than good
|
10 лет назад |
Roberto Ierusalimschy
|
cc3a42b190
option 'c' in 'string.pack' accepts any string size (truncating
|
10 лет назад |
Roberto Ierusalimschy
|
6707ce6349
function prepares vararg only if it really uses them (chunks
|
10 лет назад |
Roberto Ierusalimschy
|
257961c601
OP_SELF can use 'luaV_fastget' specialized for strings, as it
|
10 лет назад |
Roberto Ierusalimschy
|
ae515a346c
comments for luaD_precall/luaD_poscall
|
10 лет назад |
Roberto Ierusalimschy
|
3cdf1d676b
details (avoid 'case' inside block + avoid using one variable for
|
10 лет назад |
Roberto Ierusalimschy
|
82129b9266
use macro 'hasjumps' to test whether expression has jumps...
|
10 лет назад |
Roberto Ierusalimschy
|
8004ab756f
hook test in 'luaV_execute' reduced to minimum (rest done in
|
10 лет назад |
Roberto Ierusalimschy
|
ee5ef0f295
hook test in 'luaV_execute' reduced to minimum (rest done in
|
10 лет назад |
Roberto Ierusalimschy
|
5bdee4f810
small changes to allow 'precall' to spend time preserving 'func'
|
10 лет назад |