mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-04 12:07:45 +00:00
Add intrinsics: overflow_add, overflow_sub, overflow_mul; Change byte swap behaviour in -llvm-api to be the same as the intrinsic
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user