diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-07 09:18:11 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-07 09:18:11 -0300 |
commit | 623e388bb4c75eb07af3b7f83c736841d9fb76f0 (patch) | |
tree | f0c64d3c1b0f385b1b31536dd46ccd0c55b57a0b /lobject.h | |
parent | 677d90165ffef728231340c6328e9661824dbc34 (diff) | |
download | lua-github-623e388bb4c75eb07af3b7f83c736841d9fb76f0.tar.gz |
double-linked list of all upvalues elliminated and changed to a
traversal of all non-marked threads
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 2.77 2013/05/06 17:17:09 roberto Exp roberto $ +** $Id: lobject.h,v 2.78 2013/05/14 15:59:04 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -395,13 +395,7 @@ typedef struct Proto { typedef struct UpVal { CommonHeader; TValue *v; /* points to stack or to its own value */ - union { - TValue value; /* the value (when closed) */ - struct { /* double linked list (when open) */ - struct UpVal *prev; - struct UpVal *next; - } l; - } u; + TValue value; /* the value (when closed) */ } UpVal; |