0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-24 03:07:54 +01:00

deps: remove bogus V8 DCHECK

Refs: https://github.com/nodejs/node/pull/54077#issuecomment-2283753739
PR-URL: https://github.com/nodejs/node/pull/54077
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
Michaël Zasso 2024-08-12 15:20:55 +02:00
parent 5355603fb5
commit fba06eb34a
No known key found for this signature in database
GPG Key ID: 770F7A9A5AE15600
2 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,7 @@
# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.12',
'v8_embedder_string': '-node.13',
##### V8 defaults for Node.js #####

View File

@ -2714,7 +2714,6 @@ void Scope::AllocateScopeInfosRecursively(
// Allocate ScopeInfos for inner scopes.
for (Scope* scope = inner_scope_; scope != nullptr; scope = scope->sibling_) {
DCHECK_GT(scope->UniqueIdInScript(), UniqueIdInScript());
DCHECK_IMPLIES(scope->sibling_, scope->sibling_->UniqueIdInScript() !=
scope->UniqueIdInScript());
if (!scope->is_function_scope() ||