diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-11-10 16:32:37 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-11-10 16:32:37 -0500 |
| commit | 019f18058bb74816f8754de63a219347597e06da (patch) | |
| tree | 18fc61285f726018d1a54dc079767bb074259cf5 /src/analyze.cpp | |
| parent | 403a46abccbc03e70e7975d00a5134867a1d4fc7 (diff) | |
| download | zig-019f18058bb74816f8754de63a219347597e06da.tar.gz zig-019f18058bb74816f8754de63a219347597e06da.zip | |
fix test failures
put all the codegen for fn prototypes to the same place
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index 7d46ebc908..343b1ecdb0 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -2121,8 +2121,6 @@ static void resolve_decl_fn(CodeGen *g, TldFn *tld_fn) { } if (!fn_table_entry->type_entry->data.fn.is_generic) { - g->fn_protos.append(fn_table_entry); - if (fn_def_node) g->fn_defs.append(fn_table_entry); @@ -2162,7 +2160,6 @@ static void resolve_decl_fn(CodeGen *g, TldFn *tld_fn) { fn_table_entry->body_node = source_node->data.test_decl.body; fn_table_entry->is_test = true; - g->fn_protos.append(fn_table_entry); g->fn_defs.append(fn_table_entry); g->test_fns.append(fn_table_entry); |
