Skip to content

Commit

Permalink
PATCH: c++17 fix in debug mode for graph-visualizer.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar committed Oct 1, 2023
1 parent c3f88f0 commit 34cbeb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/graph-visualizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ 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));
DCHECK(source_map.find(positions[i].inlinee_func_index) != source_map.end());
size_t source_id = source_map.find(positions[i].inlinee_func_index)->second;
SourcePosition inlining_pos = positions[i].caller_pos;
os << '"' << i << "\": {\"inliningId\": " << i
Expand Down

0 comments on commit 34cbeb6

Please sign in to comment.