authorgravatar for alex_naskos@hotmail.comAlexandros Naskos <alex_naskos@hotmail.com> 2020-03-02 00:54:57+02:00
committergravatar for alex_naskos@hotmail.comAlexandros Naskos <alex_naskos@hotmail.com> 2020-03-02 00:54:57+02:00
log78e4daaa03613da5d1398f7c3bcbfda24086b051
treef4bc54197b308c824b23402545ac114b79d13818
parent11848fcb5fcb34b778dc19a8c7c2defd8da48f70

Removed unused variable


1 files changed, 0 insertions(+), 3 deletions(-)

src/ir.cpp-3
......@@ -16988,7 +16988,6 @@ static IrInstGen *ir_analyze_tuple_cat(IrAnalyze *ira, IrInst* source_instr,
1698816988 return ira->codegen->invalid_inst_gen;
1698916989
1699016990 ZigList<IrInstGen *> const_ptrs = {};
16991 IrInstGen *first_non_const_instruction = nullptr;
1699216991 for (uint32_t i = 0; i < new_field_count; i += 1) {
1699316992 TypeStructField *dst_field = new_type->data.structure.fields[i];
1699416993 IrInstGen *src_struct_op;
......@@ -17010,8 +17009,6 @@ static IrInstGen *ir_analyze_tuple_cat(IrAnalyze *ira, IrInst* source_instr,
1701017009 return ira->codegen->invalid_inst_gen;
1701117010 if (instr_is_comptime(field_value)) {
1701217011 const_ptrs.append(dest_ptr);
17013 } else {
17014 first_non_const_instruction = field_value;
1701517012 }
1701617013 IrInstGen *store_ptr_inst = ir_analyze_store_ptr(ira, source_instr, dest_ptr, field_value,
1701717014 true);