mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
Shared K
This commit is contained in:
@@ -404,6 +404,7 @@ typedef struct SharedProto {
|
||||
lu_byte numparams; /* number of fixed parameters */
|
||||
lu_byte is_vararg;
|
||||
lu_byte maxstacksize; /* number of registers needed by this function */
|
||||
lu_byte sharedk; /* constants can be shared directly */
|
||||
int sizeupvalues; /* size of 'upvalues' */
|
||||
int sizek; /* size of 'k' */
|
||||
int sizecode;
|
||||
@@ -418,6 +419,7 @@ typedef struct SharedProto {
|
||||
LocVar *locvars; /* information about local variables (debug information) */
|
||||
Upvaldesc *upvalues; /* upvalue information */
|
||||
TString *source; /* used for debug information */
|
||||
TValue *k; /* Shared constants */
|
||||
} SharedProto;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user