integrate stage1 progress display with semantic analysis

This commit is contained in:
Andrew Kelley
2019-10-22 17:52:12 -04:00
parent dc080573d1
commit f65b1d4680
9 changed files with 76 additions and 31 deletions

View File

@@ -1333,6 +1333,10 @@ int main(int argc, char **argv) {
g->enable_cache = get_cache_opt(enable_cache, output_dir == nullptr);
codegen_build_and_link(g);
if (root_progress_node != nullptr) {
stage2_progress_end(root_progress_node);
root_progress_node = nullptr;
}
if (timing_info) {
codegen_print_timing_report(g, stdout);