Skip to content

Commit 04bb8bc

Browse files
Revert unnecessary variable location changes in JSFunctionDef.
1 parent a52f6bd commit 04bb8bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

quickjs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20011,12 +20011,12 @@ typedef enum JSParseExportEnum {
2001120011
typedef struct JSFunctionDef {
2001220012
JSContext *ctx;
2001320013
struct JSFunctionDef *parent;
20014-
struct list_head child_list; /* list of JSFunctionDef.link */
20015-
struct list_head link;
20016-
2001720014
int parent_cpool_idx; /* index in the constant pool of the parent
2001820015
or -1 if none */
2001920016
int parent_scope_level; /* scope level in parent at point of definition */
20017+
struct list_head child_list; /* list of JSFunctionDef.link */
20018+
struct list_head link;
20019+
2002020020
int eval_type; /* only valid if is_eval = true */
2002120021

2002220022
/* Pack all boolean flags together as 1-bit fields to reduce struct size

0 commit comments

Comments
 (0)