mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
Be more consistent with runtime intrinsics usage
This commit is contained in:
@@ -427,7 +427,7 @@ typeid_base :: proc "contextless" (id: typeid) -> typeid {
|
|||||||
return ti.id;
|
return ti.id;
|
||||||
}
|
}
|
||||||
typeid_core :: proc "contextless" (id: typeid) -> typeid {
|
typeid_core :: proc "contextless" (id: typeid) -> typeid {
|
||||||
ti := type_info_base_without_enum(type_info_of(id));
|
ti := type_info_core(type_info_of(id));
|
||||||
return ti.id;
|
return ti.id;
|
||||||
}
|
}
|
||||||
typeid_base_without_enum :: typeid_core;
|
typeid_base_without_enum :: typeid_core;
|
||||||
@@ -492,6 +492,6 @@ default_assertion_failure_proc :: proc(prefix, message: string, loc: Source_Code
|
|||||||
print_string(message);
|
print_string(message);
|
||||||
}
|
}
|
||||||
print_byte('\n');
|
print_byte('\n');
|
||||||
// debug_trap();
|
// intrinsics.debug_trap();
|
||||||
trap();
|
intrinsics.trap();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user