diff options
| author | gingerBill <bill@gingerbill.org> | 2020-01-12 13:43:45 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-01-12 13:43:45 +0000 |
| commit | ba85e432e77eec502a00a0bfc3c4b8b30dfb8f32 (patch) | |
| tree | 8cb87349a5a5719eb9cb14f76e4f1832c11b575e /src/types.cpp | |
| parent | cfba29002a60a96633e94ebd0cd5899e960d2dc0 (diff) | |
Fix Proc Type ABI printing on System V
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp index b4d42d67a..cf8e603ba 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -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); |