| author | |
| committer | |
| log | 2b4bf1e7ced151482ce741788eadcb39f6d60f72 |
| tree | 89a1618cd0f63d9c5f2f4edfbf06dfd64a7807b3 |
| parent | 61825062aadd68e6cd2e864c717b3a8ce482258d |
The bytesToSlice is still not evaluated at comptime but at least it
doesn't crash anymore.1 files changed, 1 insertions(+), 1 deletions(-)
src/ir.cpp+1-1| ... | ... | @@ -1668,7 +1668,7 @@ static IrInstruction *ir_build_resize_slice(IrAnalyze *ira, IrInstruction *sourc |
| 1668 | 1668 | instruction->result_loc = result_loc; |
| 1669 | 1669 | |
| 1670 | 1670 | ir_ref_instruction(operand, ira->new_irb.current_basic_block); |
| 1671 | ir_ref_instruction(result_loc, ira->new_irb.current_basic_block); | |
| 1671 | if (result_loc != nullptr) ir_ref_instruction(result_loc, ira->new_irb.current_basic_block); | |
| 1672 | 1672 | |
| 1673 | 1673 | return &instruction->base; |
| 1674 | 1674 | } |