diff options
| author | gingerBill <bill@gingerbill.org> | 2021-04-22 11:33:46 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-04-22 11:33:46 +0100 |
| commit | b68b090f136d43c3501c4c9772bd4dd68399eb37 (patch) | |
| tree | b91b453f34e7079aa6482144a87015db35073ffa /src/types.cpp | |
| parent | 542098dc6fbc871d44a5061bb871f93968d48e3e (diff) | |
Add intrinsics: overflow_add, overflow_sub, overflow_mul; Change byte swap behaviour in -llvm-api to be the same as the intrinsic
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 f706032a5..a5c5c2eb2 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -1479,7 +1479,7 @@ Type *integer_endian_type_to_platform_type(Type *t) { if (t->kind == Type_BitSet) { t = bit_set_to_int(t); } - GB_ASSERT(t->kind == Type_Basic); + GB_ASSERT_MSG(t->kind == Type_Basic, "%s", type_to_string(t)); switch (t->Basic.kind) { // Endian Specific Types |