Explorer: add trace for control flow resolution (#3014)

Adds trace for control flow resolution.
This commit is contained in:
Prabhat Sachdeva authored and GitHub committed 2023-07-26 19:02:22 +00:00
1 parent f088a71cec
commit 459cfc3587
5 files changed
+67 -24

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ auto AnalyzeProgram(Nonnull<Arena*> arena, AST ast,
if (trace_stream->is_enabled()) {
*trace_stream << "********** resolving control flow **********\n";
}
CARBON_RETURN_IF_ERROR(ResolveControlFlow(ast));
CARBON_RETURN_IF_ERROR(ResolveControlFlow(trace_stream, ast));
set_prog_phase.update_phase(ProgramPhase::TypeChecking);
if (trace_stream->is_enabled()) {