Fix ir_emit_slice_bounds_check

This commit is contained in:
gingerBill
2018-02-25 15:11:20 +00:00
parent d247ba4751
commit a1e8de4e00

View File

@@ -3679,7 +3679,7 @@ void ir_emit_slice_bounds_check(irProcedure *proc, Token token, irValue *low, ir
low = ir_emit_conv(proc, low, t_int);
high = ir_emit_conv(proc, high, t_int);
irValue **args = gb_alloc_array(a, irValue *, 5);
irValue **args = gb_alloc_array(a, irValue *, 6);
args[0] = file;
args[1] = line;
args[2] = column;