Be more consistent with runtime intrinsics usage
This commit is contained in:
1 parent
212d294b84
commit
9cc366de97
1 file changed
+3
-3
@@ -427,7 +427,7 @@ typeid_base :: proc "contextless" (id: typeid) -> typeid {
|
||||
return ti.id;
|
||||
}
|
||||
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;
|
||||
}
|
||||
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_byte('\n');
|
||||
// debug_trap();
|
||||
trap();
|
||||
// intrinsics.debug_trap();
|
||||
intrinsics.trap();
|
||||
}
|
||||
Reference in new issue
Block a user