Add extra zero init for IR

This commit is contained in:
gingerBill
2018-01-31 18:27:08 +00:00
parent 5e4b62acfe
commit 028d628e9f
3 changed files with 10 additions and 11 deletions
+1 -2
View File
@@ -165,8 +165,7 @@ write_type :: proc(buf: ^String_Buffer, ti: ^Type_Info) {
case uint: write_string(buf, "uint");
case uintptr: write_string(buf, "uintptr");
case:
if info.signed do write_byte(buf, 'i');
else do write_byte(buf, 'u');
write_byte(buf, info.signed ? 'i' : 'u');
write_i64(buf, i64(8*ti.size), 10);
}
case Type_Info_Rune: