File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1111#define V8_MAJOR_VERSION 12
1212#define V8_MINOR_VERSION 4
1313#define V8_BUILD_NUMBER 254
14- #define V8_PATCH_LEVEL 19
14+ #define V8_PATCH_LEVEL 20
1515
1616// Use 1 for candidates and 0 otherwise.
1717// (Boolean macro values are not supported by all preprocessors.)
Original file line number Diff line number Diff line change @@ -2445,7 +2445,7 @@ bool Scope::MustAllocate(Variable* var) {
24452445 var->set_is_used ();
24462446 if (inner_scope_calls_eval_ && !var->is_this ()) var->SetMaybeAssigned ();
24472447 }
2448- DCHECK (!var->has_forced_context_allocation () || var->is_used ());
2448+ CHECK (!var->has_forced_context_allocation () || var->is_used ());
24492449 // Global variables do not need to be allocated.
24502450 return !var->IsGlobalObjectProperty () && var->is_used ();
24512451}
Original file line number Diff line number Diff line change @@ -2661,6 +2661,7 @@ typename ParserBase<Impl>::BlockT ParserBase<Impl>::ParseClassStaticBlock(
26612661 }
26622662
26632663 FunctionState initializer_state (&function_state_, &scope_, initializer_scope);
2664+ FunctionParsingScope body_parsing_scope (impl ());
26642665 AcceptINScope accept_in (this , true );
26652666
26662667 // Each static block has its own var and lexical scope, so make a new var
You can’t perform that action at this time.
0 commit comments