Roberto Ierusalimschy
|
5bc91c6405
no more one environment per thread: all threads share a single global
|
há 16 anos atrás |
Roberto Ierusalimschy
|
916587508c
parser keeps list of active local variables in a single dynamic array,
|
há 16 anos atrás |
Roberto Ierusalimschy
|
5938212748
information about upvalues (where they come from) kept in Proto structure,
|
há 16 anos atrás |
Roberto Ierusalimschy
|
0e45ffb8e4
first implementation of 'lua_yieldk' (yield with continuation)
|
há 16 anos atrás |
Roberto Ierusalimschy
|
f76f4cb79d
new way to control stack overflow, controling only total size of the stack
|
há 16 anos atrás |
Roberto Ierusalimschy
|
9423e22aa3
no more L->base + ci->base only for Lua functions (C functions may use
|
há 16 anos atrás |
Roberto Ierusalimschy
|
019ebcb85f
errors in finalizers are propagated with code LUA_ERRGCMM (ERRor in
|
há 16 anos atrás |
Roberto Ierusalimschy
|
e091a254df
new way to GC stacks: the entire stack must be correct all the times;
|
há 16 anos atrás |
Roberto Ierusalimschy
|
e5249b9fb5
'exit' changed to 'abort' in case of panic (+ some extra comments)
|
há 16 anos atrás |
Roberto Ierusalimschy
|
d3037d97ec
several small improvements based on 'ci' being fixed now (including
|
há 16 anos atrás |
Roberto Ierusalimschy
|
4f88418170
'CallInfo' stack implemented as double-linked list instead of an array
|
há 16 anos atrás |
Roberto Ierusalimschy
|
311e9f3ceb
'nresults' is saved in CallInfo from the caller, not the called
|
há 16 anos atrás |
Roberto Ierusalimschy
|
70a63fa5ad
first implementation of yieldable 'pcall'
|
há 16 anos atrás |
Roberto Ierusalimschy
|
3dbf305408
no more support for old-style varargs
|
há 16 anos atrás |
Roberto Ierusalimschy
|
6d0ae11c57
'context' added to suspendable calls
|
há 16 anos atrás |
Roberto Ierusalimschy
|
ba484b9eb1
yielding across lua_call (first version)
|
há 16 anos atrás |
Roberto Ierusalimschy
|
1817dfc301
initial separation, in CallInfo, of what is relevant only to Lua
|
há 16 anos atrás |
Roberto Ierusalimschy
|
910310d3ba
if thread has no error handling, try main thread handler before panicking
|
há 16 anos atrás |
Roberto Ierusalimschy
|
2b579b4b83
panic mode does not reset stack (so that panic function can gather
|
há 16 anos atrás |
Roberto Ierusalimschy
|
b472098493
concat TM can yield
|
há 16 anos atrás |
Roberto Ierusalimschy
|
84b3daebbd
generic for coded as two dedicated instructions to simplify resumption
|
há 17 anos atrás |
Roberto Ierusalimschy
|
f6978173e0
yields accross metamethods and for iterators (except for __concat)
|
há 17 anos atrás |
Roberto Ierusalimschy
|
f94cd2201c
better control of call status through CallInfo
|
há 17 anos atrás |
Roberto Ierusalimschy
|
fdbb243ff9
first steps towards yielding through longjump
|
há 17 anos atrás |
Roberto Ierusalimschy
|
e7c989baf1
avoid calling "tail return" hooks if the hook itself turns off the event
|
há 17 anos atrás |
Roberto Ierusalimschy
|
5f4f0d4a63
no more optimization to avoid LOADNIL at function start
|
há 18 anos atrás |
Roberto Ierusalimschy
|
afa0d0ac0d
new constant LUA_OK
|
há 19 anos atrás |
Roberto Ierusalimschy
|
d1ef7e0ec6
avoid local "pc" in interpreter loop (tricky optimization with no real gain)
|
há 19 anos atrás |
Roberto Ierusalimschy
|
a7c9e45c64
avoid trailing white spaces
|
há 19 anos atrás |
Roberto Ierusalimschy
|
c473818017
avoid "too complex" conditional expression (some compilers get confused...)
|
há 19 anos atrás |