From 623e388bb4c75eb07af3b7f83c736841d9fb76f0 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 7 Aug 2013 09:18:11 -0300 Subject: double-linked list of all upvalues elliminated and changed to a traversal of all non-marked threads --- lobject.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index 769e96db..ba425fed 100644 --- a/lobject.h +++ b/lobject.h @@ -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; -- cgit v1.2.3-55-g6feb