Roberto Ierusalimschy
|
ee5ef0f295
hook test in 'luaV_execute' reduced to minimum (rest done in
|
před 10 roky |
Roberto Ierusalimschy
|
5bdee4f810
small changes to allow 'precall' to spend time preserving 'func'
|
před 10 roky |
Roberto Ierusalimschy
|
48098c42ff
generic definitions for float types moved to before variable definitions
|
před 10 roky |
Roberto Ierusalimschy
|
3ad55386c4
'condchangemem' also may need to run 'pre'/'pos'
|
před 10 roky |
Roberto Ierusalimschy
|
caf8278710
added comments
|
před 10 roky |
Roberto Ierusalimschy
|
f7670781cf
cleaner definition for 'luaC_condGC', using 'pre'/'pos' parameters
|
před 10 roky |
Roberto Ierusalimschy
|
df8b996bcc
'Protect' in table operations is not needed in the fast track
|
před 10 roky |
Roberto Ierusalimschy
|
75d5a8924c
macro 'addbuff' was using external variable name, instead of using
|
před 10 roky |
Roberto Ierusalimschy
|
880f82d089
'*' as a number means stack size, so that "return *" returns
|
před 10 roky |
Roberto Ierusalimschy
|
1a741157cb
avoid (undefined behavior) integer 'overflow' in left shift
|
před 10 roky |
Roberto Ierusalimschy
|
0c78de0d6d
avoid calling write function with empty block
|
před 10 roky |
Roberto Ierusalimschy
|
df45f7118b
detail (added assertion)
|
před 10 roky |
Roberto Ierusalimschy
|
880df57e52
detail (removed unreacheable 'break')
|
před 10 roky |
Roberto Ierusalimschy
|
8949904783
allow NULL string when length is zero in 'lua_pushlstring' and
|
před 10 roky |
Roberto Ierusalimschy
|
9294466234
detail (string cache a bit smaller by default)
|
před 10 roky |
Roberto Ierusalimschy
|
e290bd6760
in 'luaL_traceback', print correct number of levels even when
|
před 10 roky |
Roberto Ierusalimschy
|
dc4232379d
detail (ensure subtraction is done unsigned)
|
před 10 roky |
Roberto Ierusalimschy
|
10fffcd80a
'gmatch' keeps its state in a userdata (keeping the same 'MatchState'
|
před 10 roky |
Roberto Ierusalimschy
|
8264dbc2bb
implemented counter to abort non-linear behavior in pattern matching
|
před 10 roky |
Roberto Ierusalimschy
|
9fae7b6d3f
code for string cache generalized for "associative sets" (compiler
|
před 10 roky |
Roberto Ierusalimschy
|
0f1f51be4b
'table.move' tries to copy elements in increasing order
|
před 10 roky |
Roberto Ierusalimschy
|
ee5edb6b68
macros 'getaddrstr' and 'getstr' unified (they do the same thing)
|
před 10 roky |
Roberto Ierusalimschy
|
bda83e22c0
'tablib' does not try to use raw operations when possible: fast
|
před 10 roky |
Roberto Ierusalimschy
|
364cdbdbdb
'setobj2t' incorporated into 'luaV_fastset' + 'invalidateTMcache'
|
před 10 roky |
Roberto Ierusalimschy
|
b91bc93fd3
'setobj2t' incorporated into 'luaV_fastset' + 'invalidateTMcache'
|
před 10 roky |
Roberto Ierusalimschy
|
53be1451a8
new definition for macro 'checkliveness'
|
před 10 roky |
Roberto Ierusalimschy
|
eb0be12ceb
detail in macro 'checkliveness' + macro 'setobj2t' defined as an
|
před 10 roky |
Roberto Ierusalimschy
|
1198d82530
'lua_longassert' defined as an expression (instead of a command)
|
před 10 roky |
Roberto Ierusalimschy
|
6556fcfe5a
small janitor work
|
před 10 roky |
Roberto Ierusalimschy
|
41964648ee
long strings are created directly in final position when possible
|
před 10 roky |