Roberto Ierusalimschy
|
33b366ec32
added counters for total and individual CallInfo entries (to allow
|
9 years ago |
Roberto Ierusalimschy
|
c5363a1b58
in 'luaD_precall', in vararg functions, complete missing parameters
|
9 years ago |
Roberto Ierusalimschy
|
332a06bbd1
'luaO_pushvfstring' now uses 'incr_top' to increment top.
|
9 years ago |
Roberto Ierusalimschy
|
ffd0d1232d
using more "conventional" loops in 'luaD_poscall' (probably a little
|
9 years ago |
Roberto Ierusalimschy
|
07a2dcacbf
flag CIST_REENTRY changed to CIST_FRESH (its negation); fresh invocations
|
9 years ago |
Roberto Ierusalimschy
|
c874abac98
with 'fast tracks', there is no need to do raw accesses in 'ipairs'
|
10 years ago |
Roberto Ierusalimschy
|
789e423b32
corrected comparisons of signed (int) with unsigned (size_t)
|
10 years ago |
Roberto Ierusalimschy
|
96ec8671b1
macro 'buff2num' replaced by its body (it caused more harm than good
|
10 years ago |
Roberto Ierusalimschy
|
cc3a42b190
option 'c' in 'string.pack' accepts any string size (truncating
|
10 years ago |
Roberto Ierusalimschy
|
6707ce6349
function prepares vararg only if it really uses them (chunks
|
10 years ago |
Roberto Ierusalimschy
|
257961c601
OP_SELF can use 'luaV_fastget' specialized for strings, as it
|
10 years ago |
Roberto Ierusalimschy
|
ae515a346c
comments for luaD_precall/luaD_poscall
|
10 years ago |
Roberto Ierusalimschy
|
3cdf1d676b
details (avoid 'case' inside block + avoid using one variable for
|
10 years ago |
Roberto Ierusalimschy
|
82129b9266
use macro 'hasjumps' to test whether expression has jumps...
|
10 years ago |
Roberto Ierusalimschy
|
8004ab756f
hook test in 'luaV_execute' reduced to minimum (rest done in
|
10 years ago |
Roberto Ierusalimschy
|
ee5ef0f295
hook test in 'luaV_execute' reduced to minimum (rest done in
|
10 years ago |
Roberto Ierusalimschy
|
5bdee4f810
small changes to allow 'precall' to spend time preserving 'func'
|
10 years ago |
Roberto Ierusalimschy
|
48098c42ff
generic definitions for float types moved to before variable definitions
|
10 years ago |
Roberto Ierusalimschy
|
3ad55386c4
'condchangemem' also may need to run 'pre'/'pos'
|
10 years ago |
Roberto Ierusalimschy
|
caf8278710
added comments
|
10 years ago |
Roberto Ierusalimschy
|
f7670781cf
cleaner definition for 'luaC_condGC', using 'pre'/'pos' parameters
|
10 years ago |
Roberto Ierusalimschy
|
df8b996bcc
'Protect' in table operations is not needed in the fast track
|
10 years ago |
Roberto Ierusalimschy
|
75d5a8924c
macro 'addbuff' was using external variable name, instead of using
|
10 years ago |
Roberto Ierusalimschy
|
880f82d089
'*' as a number means stack size, so that "return *" returns
|
10 years ago |
Roberto Ierusalimschy
|
1a741157cb
avoid (undefined behavior) integer 'overflow' in left shift
|
10 years ago |
Roberto Ierusalimschy
|
0c78de0d6d
avoid calling write function with empty block
|
10 years ago |
Roberto Ierusalimschy
|
df45f7118b
detail (added assertion)
|
10 years ago |
Roberto Ierusalimschy
|
880df57e52
detail (removed unreacheable 'break')
|
10 years ago |
Roberto Ierusalimschy
|
8949904783
allow NULL string when length is zero in 'lua_pushlstring' and
|
10 years ago |
Roberto Ierusalimschy
|
9294466234
detail (string cache a bit smaller by default)
|
10 years ago |