aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-02-09 00:24:23 -0500
committerAndrew Kelley <superjoe30@gmail.com>2018-02-09 00:24:23 -0500
commit32c988a2d7920fcd3da50a13a1ae9abcd57daf50 (patch)
tree68c847a2648eed20a70f1d2d01de795dfda98b0b /src/codegen.cpp
parent916d24cd2111559b0694d9579872832f4764a391 (diff)
downloadzig-32c988a2d7920fcd3da50a13a1ae9abcd57daf50.tar.gz
zig-32c988a2d7920fcd3da50a13a1ae9abcd57daf50.zip
fix build runner on windows
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index 2f8ebf768d..25c115b6f1 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -4622,6 +4622,8 @@ static void validate_inline_fns(CodeGen *g) {
static void do_code_gen(CodeGen *g) {
assert(!g->errors.length);
+ codegen_add_time_event(g, "Code Generation");
+
{
// create debug type for error sets
assert(g->err_enumerators.length == g->errors_by_index.length);
@@ -4644,8 +4646,6 @@ static void do_code_gen(CodeGen *g) {
}
}
- codegen_add_time_event(g, "Code Generation");
-
generate_error_name_table(g);
generate_enum_name_tables(g);