File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -509,10 +509,10 @@ struct JSString {
509
509
};
510
510
511
511
typedef struct JSClosureVar {
512
- uint8_t is_local : 1 ;
513
- uint8_t is_arg : 1 ;
514
- uint8_t is_const : 1 ;
515
- uint8_t is_lexical : 1 ;
512
+ bool is_local;
513
+ bool is_arg;
514
+ bool is_const;
515
+ bool is_lexical;
516
516
uint8_t var_kind : 4; /* see JSVarKindEnum */
517
517
/* 8 bits available */
518
518
uint16_t var_idx; /* is_local = true: index to a normal variable of the
@@ -559,10 +559,10 @@ typedef struct JSVarDef {
559
559
variable in the same or enclosing lexical scope
560
560
*/
561
561
int scope_next;
562
- uint8_t is_const : 1 ;
563
- uint8_t is_lexical : 1 ;
564
- uint8_t is_captured : 1 ;
565
- uint8_t is_static_private : 1 ; /* only used during private class field parsing */
562
+ bool is_const;
563
+ bool is_lexical;
564
+ bool is_captured;
565
+ bool is_static_private; /* only used during private class field parsing */
566
566
uint8_t var_kind : 4; /* see JSVarKindEnum */
567
567
/* only used during compilation: function pool index for lexical
568
568
variables with var_kind =
You can’t perform that action at this time.
0 commit comments