mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
deps: remove usage of a C++20 feature from V8
We are not ready to compile with C++20 support yet. This is only a DCHECK that can be removed without affecting the behavior of release builds. PR-URL: https://github.com/nodejs/node/pull/49639 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs/node/pull/50115 Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
@@ -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.4',
|
||||
'v8_embedder_string': '-node.5',
|
||||
|
||||
##### V8 defaults for Node.js #####
|
||||
|
||||
|
||||
1
deps/v8/src/compiler/graph-visualizer.cc
vendored
1
deps/v8/src/compiler/graph-visualizer.cc
vendored
@@ -294,7 +294,6 @@ void JsonPrintAllSourceWithPositionsWasm(
|
||||
os << "\"inlinings\": {";
|
||||
for (size_t i = 0; i < positions.size(); ++i) {
|
||||
if (i != 0) os << ", ";
|
||||
DCHECK(source_map.contains(positions[i].inlinee_func_index));
|
||||
size_t source_id = source_map.find(positions[i].inlinee_func_index)->second;
|
||||
SourcePosition inlining_pos = positions[i].caller_pos;
|
||||
os << '"' << i << "\": {\"inliningId\": " << i
|
||||
|
||||
Reference in New Issue
Block a user