diff options
| author | gingerBill <bill@gingerbill.org> | 2021-07-03 14:38:15 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-07-03 14:38:15 +0100 |
| commit | 9cc366de97066e3ed86a8775bb059815921dcbaf (patch) | |
| tree | a3397599ac05171cad2fe8d88e1c1e6415beaa86 /core/runtime | |
| parent | 212d294b849979629db6952d7366d8c0b4129c7f (diff) | |
Be more consistent with runtime intrinsics usage
Diffstat (limited to 'core/runtime')
| -rw-r--r-- | core/runtime/core.odin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/runtime/core.odin b/core/runtime/core.odin index 2dabbc90f..35762f1ae 100644 --- a/core/runtime/core.odin +++ b/core/runtime/core.odin @@ -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(); } |