| ... | @@ -9606,6 +9606,7 @@ static IrInstSrc *ir_gen_continue(IrBuilderSrc *irb, Scope *continue_scope, AstN | ... | @@ -9606,6 +9606,7 @@ static IrInstSrc *ir_gen_continue(IrBuilderSrc *irb, Scope *continue_scope, AstN |
| 9606 | ScopeRuntime *scope_runtime = runtime_scopes.at(i); | 9606 | ScopeRuntime *scope_runtime = runtime_scopes.at(i); |
| 9607 | ir_mark_gen(ir_build_check_runtime_scope(irb, continue_scope, node, scope_runtime->is_comptime, is_comptime)); | 9607 | ir_mark_gen(ir_build_check_runtime_scope(irb, continue_scope, node, scope_runtime->is_comptime, is_comptime)); |
| 9608 | } | 9608 | } |
| | 9609 | runtime_scopes.deinit(); |
| 9609 | | 9610 | |
| 9610 | IrBasicBlockSrc *dest_block = loop_scope->continue_block; | 9611 | IrBasicBlockSrc *dest_block = loop_scope->continue_block; |
| 9611 | if (!ir_gen_defers_for_block(irb, continue_scope, dest_block->scope, nullptr, nullptr)) | 9612 | if (!ir_gen_defers_for_block(irb, continue_scope, dest_block->scope, nullptr, nullptr)) |
| ... | @@ -21526,6 +21527,7 @@ static IrInstGen *ir_analyze_instruction_phi(IrAnalyze *ira, IrInstSrcPhi *phi_i | ... | @@ -21526,6 +21527,7 @@ static IrInstGen *ir_analyze_instruction_phi(IrAnalyze *ira, IrInstSrcPhi *phi_i |
| 21526 | predecessor->instruction_list.append(instrs_to_move.pop()); | 21527 | predecessor->instruction_list.append(instrs_to_move.pop()); |
| 21527 | } | 21528 | } |
| 21528 | predecessor->instruction_list.append(branch_instruction); | 21529 | predecessor->instruction_list.append(branch_instruction); |
| | 21530 | instrs_to_move.deinit(); |
| 21529 | } | 21531 | } |
| 21530 | } | 21532 | } |
| 21531 | | 21533 | |
| ... | @@ -21576,7 +21578,10 @@ static IrInstGen *ir_analyze_instruction_phi(IrAnalyze *ira, IrInstSrcPhi *phi_i | ... | @@ -21576,7 +21578,10 @@ static IrInstGen *ir_analyze_instruction_phi(IrAnalyze *ira, IrInstSrcPhi *phi_i |
| 21576 | } | 21578 | } |
| 21577 | | 21579 | |
| 21578 | if (new_incoming_blocks.length == 1) { | 21580 | if (new_incoming_blocks.length == 1) { |
| 21579 | return new_incoming_values.at(0); | 21581 | IrInstGen *incoming_value = new_incoming_values.at(0); |
| | 21582 | new_incoming_blocks.deinit(); |
| | 21583 | new_incoming_values.deinit(); |
| | 21584 | return incoming_value; |
| 21580 | } | 21585 | } |
| 21581 | | 21586 | |
| 21582 | ZigType *resolved_type = nullptr; | 21587 | ZigType *resolved_type = nullptr; |
| ... | @@ -24154,6 +24159,7 @@ static IrInstGen *ir_analyze_container_init_fields(IrAnalyze *ira, IrInst *sourc | ... | @@ -24154,6 +24159,7 @@ static IrInstGen *ir_analyze_container_init_fields(IrAnalyze *ira, IrInst *sourc |
| 24154 | } | 24159 | } |
| 24155 | } | 24160 | } |
| 24156 | | 24161 | |
| | 24162 | const_ptrs.deinit(); |
| 24157 | IrInstGen *result = ir_get_deref(ira, source_instr, result_loc, nullptr); | 24163 | IrInstGen *result = ir_get_deref(ira, source_instr, result_loc, nullptr); |
| 24158 | | 24164 | |
| 24159 | if (is_comptime && !instr_is_comptime(result)) { | 24165 | if (is_comptime && !instr_is_comptime(result)) { |