Fix Proc Type ABI printing on System V

This commit is contained in:
gingerBill
2020-01-12 13:43:45 +00:00
parent cfba29002a
commit ba85e432e7
3 changed files with 51 additions and 15 deletions

View File

@@ -3394,7 +3394,7 @@ gbString write_type_to_string(gbString str, Type *type) {
case Type_SimdVector:
if (type->SimdVector.is_x86_mmx) {
return "intrinsics.x86_mmx";
return gb_string_appendc(str, "intrinsics.x86_mmx");
} else {
str = gb_string_append_fmt(str, "#simd[%d]", cast(int)type->SimdVector.count);
str = write_type_to_string(str, type->SimdVector.elem);