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,...@@ -16988,7 +16988,6 @@ static IrInstGen *ir_analyze_tuple_cat(IrAnalyze *ira, IrInst* source_instr,
16988 return ira->codegen->invalid_inst_gen;16988 return ira->codegen->invalid_inst_gen;
1698916989
16990 ZigList<IrInstGen *> const_ptrs = {};16990 ZigList<IrInstGen *> const_ptrs = {};
16991 IrInstGen *first_non_const_instruction = nullptr;
16992 for (uint32_t i = 0; i < new_field_count; i += 1) {16991 for (uint32_t i = 0; i < new_field_count; i += 1) {
16993 TypeStructField *dst_field = new_type->data.structure.fields[i];16992 TypeStructField *dst_field = new_type->data.structure.fields[i];
16994 IrInstGen *src_struct_op;16993 IrInstGen *src_struct_op;
...@@ -17010,8 +17009,6 @@ static IrInstGen *ir_analyze_tuple_cat(IrAnalyze *ira, IrInst* source_instr,...@@ -17010,8 +17009,6 @@ static IrInstGen *ir_analyze_tuple_cat(IrAnalyze *ira, IrInst* source_instr,
17010 return ira->codegen->invalid_inst_gen;17009 return ira->codegen->invalid_inst_gen;
17011 if (instr_is_comptime(field_value)) {17010 if (instr_is_comptime(field_value)) {
17012 const_ptrs.append(dest_ptr);17011 const_ptrs.append(dest_ptr);
17013 } else {
17014 first_non_const_instruction = field_value;
17015 }17012 }
17016 IrInstGen *store_ptr_inst = ir_analyze_store_ptr(ira, source_instr, dest_ptr, field_value,17013 IrInstGen *store_ptr_inst = ir_analyze_store_ptr(ira, source_instr, dest_ptr, field_value,
17017 true);17014 true);