Roberto Ierusalimschy
|
38d3bc8909
using 'offsetof' to compute the size of parts of a structure
|
7 anni fa |
Roberto Ierusalimschy
|
e2b15aa21d
janitor work on casts
|
7 anni fa |
Roberto Ierusalimschy
|
f96497397a
new type 'StackValue' for stack elements
|
8 anni fa |
Roberto Ierusalimschy
|
2376eb6347
barrier for prototype's cache (with new gray list 'protogray' to keep
|
8 anni fa |
Roberto Ierusalimschy
|
a3d36fe283
Upvalues collected like everything else (with mark-sweep) instead
|
8 anni fa |
Roberto Ierusalimschy
|
cdd26700e8
definition for 'MAXUPVAL' moved for a more "private" place and its
|
10 anni fa |
Roberto Ierusalimschy
|
89b56e7d84
more precision between closure types ('LClosure' x 'CClosure')
|
11 anni fa |
Roberto Ierusalimschy
|
d764cc5522
new list 'twups' to allow traversal of upvalues from dead threads
|
11 anni fa |
Roberto Ierusalimschy
|
ffa96d988d
field 'op' renamed to 'open'
|
11 anni fa |
Roberto Ierusalimschy
|
2e2c109daf
type of 'refcount' changed to lu_mem (to ensure there will be no
|
12 anni fa |
Roberto Ierusalimschy
|
af35c7f398
upvalues collected by reference count
|
12 anni fa |
Roberto Ierusalimschy
|
623e388bb4
double-linked list of all upvalues elliminated and changed to a
|
12 anni fa |
Roberto Ierusalimschy
|
3cadc37f47
no more 'Proto' objects on the stack. Protos are anchored on outer
|
13 anni fa |
Roberto Ierusalimschy
|
fd22ccd6d0
object tag keeps variant bits too -> no need for 'isC' field in
|
13 anni fa |
Roberto Ierusalimschy
|
545f43065f
'luaF_newLclosure' gets prototype of new closure as argument
|
15 anni fa |
Roberto Ierusalimschy
|
064e406f67
no more fenvs!
|
15 anni fa |
Roberto Ierusalimschy
|
8718fda9b2
added LUAI_FUNC to functions not in the API
|
20 anni fa |
Roberto Ierusalimschy
|
7d45a5f48f
C functions and userdata also have environments
|
20 anni fa |
Roberto Ierusalimschy
|
334ba8132b
cleaner way to remark open upvalues
|
20 anni fa |
Roberto Ierusalimschy
|
47fc57a252
`TObject' renamed to `TValue' + other name changes and better assertions
|
21 anni fa |
Roberto Ierusalimschy
|
5ee63257f9
macros for closure sizes are global
|
22 anni fa |
Roberto Ierusalimschy
|
c51bcf4796
it's ok to dump functions with upvalues
|
22 anni fa |
Roberto Ierusalimschy
|
ab9e062928
name changes to avoid name collision between macros and variables
|
22 anni fa |
Roberto Ierusalimschy
|
3941af53ad
first implementation of independent global table per function
|
23 anni fa |
Roberto Ierusalimschy
|
413fc7334b
new implementation for lua upvalues (sugested by E.T.): simpler and solves
|
24 anni fa |
Roberto Ierusalimschy
|
72659a0605
no more explicit support for wide-chars; too much troble...
|
24 anni fa |
Roberto Ierusalimschy
|
15462edb0f
new definitions for closure structures
|
24 anni fa |
Roberto Ierusalimschy
|
abdbe883a8
first implementation of unrestricted static scoping
|
24 anni fa |
Roberto Ierusalimschy
|
39b7978329
first (big) step to support wide chars
|
24 anni fa |
Roberto Ierusalimschy
|
0183b8030c
`free' gets size of the block: complete control over memory use
|
24 anni fa |