Skip to content

Commit 93400f1

Browse files
committed
WIP
1 parent afcf5c8 commit 93400f1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

quickjs.c

+9-9
Original file line numberDiff line numberDiff line change
@@ -18680,18 +18680,18 @@ typedef struct BlockEnv {
1868018680
int drop_count; /* number of stack elements to drop */
1868118681
int label_finally; /* -1 if none */
1868218682
int scope_level;
18683-
uint8_t has_iterator : 1;
18684-
uint8_t is_regular_stmt : 1; // i.e. not a loop statement
18683+
bool has_iterator;
18684+
bool is_regular_stmt; // i.e. not a loop statement
1868518685
} BlockEnv;
1868618686

1868718687
typedef struct JSGlobalVar {
18688-
int cpool_idx; /* if >= 0, index in the constant pool for hoisted
18689-
function defintion*/
18690-
uint8_t force_init : 1; /* force initialization to undefined */
18691-
uint8_t is_lexical : 1; /* global let/const definition */
18692-
uint8_t is_const : 1; /* const definition */
18693-
int scope_level; /* scope of definition */
18694-
JSAtom var_name; /* variable name */
18688+
int cpool_idx; /* if >= 0, index in the constant pool for hoisted
18689+
function defintion*/
18690+
bool force_init; /* force initialization to undefined */
18691+
bool is_lexical; /* global let/const definition */
18692+
bool is_const; /* const definition */
18693+
int scope_level; /* scope of definition */
18694+
JSAtom var_name; /* variable name */
1869518695
} JSGlobalVar;
1869618696

1869718697
typedef struct RelocEntry {

0 commit comments

Comments
 (0)