correction of --instrument option support

This commit is contained in:
Ilia Filippov
2013-06-25 11:51:35 +04:00
parent cba1b3cedd
commit 9fb981e9a0
4 changed files with 10 additions and 8 deletions

View File

@@ -45,7 +45,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_" + name + "_length = " + str(i+1) + ";\n")
sys.stdout.write("int builtins_bitcode_" + name + "_length = " + str(len(data)) + ";\n")
as_out.wait()