Fixed off by one error in array size generated by bitcode2cpp.py

This commit is contained in:
Jean-Luc Duprat
2012-01-10 11:22:13 -08:00
parent a8db866228
commit 63d3d25030

View File

@@ -40,7 +40,7 @@ for i in range(0, len(data), 1):
sys.stdout.write("\n")
sys.stdout.write("0x00 };\n\n")
sys.stdout.write("int builtins_bitcode_" + target + "_length = " + str(i) + ";\n")
sys.stdout.write("int builtins_bitcode_" + target + "_length = " + str(i+1) + ";\n")
as_out.wait()