Browse Source

Fix ir_emit_slice_bounds_check

gingerBill 7 years ago
parent
commit
a1e8de4e00
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ir.cpp

+ 1 - 1
src/ir.cpp

@@ -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;