Skip to content

Commit 6303f19

Browse files
nodejs-github-bottargos
authored andcommitted
deps: patch V8 to 12.4.254.20
Refs: v8/v8@12.4.254.19...12.4.254.20 PR-URL: #53159 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Ulises Gascón <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 98ae1eb commit 6303f19

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

deps/v8/include/v8-version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
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.)

deps/v8/src/ast/scopes.cc

+1-1
Original file line numberDiff line numberDiff 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
}

deps/v8/src/parsing/parser-base.h

+1
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)