From 472c560705a29e33fa7b2dba7438b5cbf3d8170f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 3 Nov 2017 15:22:54 -0200 Subject: no more useful fields in CallInfo --- lstate.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 3d76e9b9..df1630ea 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.146 2017/11/02 11:28:56 roberto Exp roberto $ +** $Id: lstate.h,v 2.147 2017/11/03 12:12:30 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -87,20 +87,6 @@ typedef struct stringtable { typedef struct CallInfo { StkId func; /* function index in the stack */ struct CallInfo *previous, *next; /* dynamic call link */ - union { - struct { /* only for Lua functions */ - const Instruction *savedpc; - } l; - struct { /* only for C functions */ - lua_KFunction k; /* continuation in case of yields */ - ptrdiff_t old_errfunc; - lua_KContext ctx; /* context info. in case of yields */ - } c; - } u; - union { - ptrdiff_t funcidx; /* called-function index */ - int nyield; /* number of values yielded */ - } u2; } CallInfo; -- cgit v1.2.3-55-g6feb