Roberto Ierusalimschy
|
34aa0c5bd7
new macros 'likely'/'unlikely' with hints for jump predictions
|
7 年之前 |
Roberto Ierusalimschy
|
02ed0b2c30
in 'luaD_poscall', there is no need to compute 'firstResult' when 'nres==0'
|
7 年之前 |
Roberto Ierusalimschy
|
4907444db9
'fTransfer' -> 'ftransfer' / 'nTransfer' -> 'ntransfer'
|
7 年之前 |
Roberto Ierusalimschy
|
6480e73599
details (avoid using non-C89 '//' comment)
|
7 年之前 |
Roberto Ierusalimschy
|
8c429311a3
typo in comment
|
7 年之前 |
Roberto Ierusalimschy
|
ef8263f81f
better names for macros for tags and types.
|
7 年之前 |
Roberto Ierusalimschy
|
422318f677
two new fields 'fTransfer'/'nTransfer' in 'lua_Debug' structure
|
7 年之前 |
Roberto Ierusalimschy
|
104d249ffb
in return hook, 'top' must be corrected only if smaller than 'ci->top'.
|
7 年之前 |
Roberto Ierusalimschy
|
0682fe8169
some simplifications/optimizations in returns from Lua functions
|
7 年之前 |
Roberto Ierusalimschy
|
b1379936cf
vararg back to '...' (but with another implementation)
|
7 年之前 |
Roberto Ierusalimschy
|
4e0de3a43c
details
|
7 年之前 |
Roberto Ierusalimschy
|
318a9a5859
new opcode 'PREPVARARG'
|
7 年之前 |
Roberto Ierusalimschy
|
51280ef2ad
call hooks for Lua functions called by 'luaV_execute'
|
7 年之前 |
Roberto Ierusalimschy
|
dc0ab1e8ca
warnings in VS (implicit casts from ptrdiff_t to int)
|
7 年之前 |
Roberto Ierusalimschy
|
89110986d7
bug in tailcall of vararg functions
|
7 年之前 |
Roberto Ierusalimschy
|
53979dfe0d
calling a vararg function needs to check GC
|
7 年之前 |
Roberto Ierusalimschy
|
ab0a851db4
'luaD_tryfuncTM' can ensure it does not change the stack
|
7 年之前 |
Roberto Ierusalimschy
|
28323aeaa6
by-one error when filling missing arguments in a tail call
|
7 年之前 |
Roberto Ierusalimschy
|
8691612f01
when calling a hook, cannot decrease 'ci->top' (to preserve stack
|
7 年之前 |
Roberto Ierusalimschy
|
1d5b885437
when running Lua code, there is no need to keep 'L->top' "correct";
|
7 年之前 |
Roberto Ierusalimschy
|
4dc0be950a
new macro 'isLuacode' (to distinguish regular Lua code from
|
7 年之前 |
Roberto Ierusalimschy
|
b3f924bc69
'Proto->numparams' does not include vararg parameter
|
7 年之前 |
Roberto Ierusalimschy
|
725c15a4ca
when shrinking stack, always shrinks the CI list.
|
7 年之前 |
Roberto Ierusalimschy
|
bfb88e99e9
'luaD_growstack' cannot raise any errors when 'raiseerror' is
|
7 年之前 |
Roberto Ierusalimschy
|
e663a24ab0
more freedom in handling memory-allocation errors (not all allocations
|
7 年之前 |
Roberto Ierusalimschy
|
e0bece77d6
detail
|
7 年之前 |
Roberto Ierusalimschy
|
c766e4103d
'luaV_execute' gets call info as extra argument (it is always
|
7 年之前 |
Roberto Ierusalimschy
|
194a4f9710
small simplifications in 'luaD_poscall'
|
7 年之前 |
Roberto Ierusalimschy
|
196c87c9ce
no more 'stackless' implementation; 'luaV_execute' calls itself
|
7 年之前 |
Roberto Ierusalimschy
|
14c3aa12b5
more direct implementation for tail calls.
|
7 年之前 |