From a9a6f77a1f0a6e173d85fee42aec0a8d5e22a64d Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 20 Oct 2016 01:13:39 -0400 Subject: add variable declaration initialization IR --- src/analyze.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/analyze.cpp') diff --git a/src/analyze.cpp b/src/analyze.cpp index f8c3f4c35e..7b0743a2d5 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -3615,9 +3615,6 @@ static VariableTableEntry *add_local_var_shadowable(CodeGen *g, AstNode *source_ // TODO replace _anon with @anon and make sure all tests still pass buf_init_from_str(&variable_entry->name, "_anon"); } - if (context->fn_entry) { - context->fn_entry->variable_list.append(variable_entry); - } variable_entry->is_const = is_const; variable_entry->decl_node = source_node; -- cgit v1.2.3