Add @(optimization_mode="size") to runtime.print_type

This commit is contained in:
gingerBill
2024-04-18 11:00:47 +01:00
parent 6127339c56
commit 889cd5461c

View File

@@ -257,6 +257,8 @@ print_typeid :: #force_no_inline proc "contextless" (id: typeid) {
}
}
}
@(optimization_mode="size")
print_type :: #force_no_inline proc "contextless" (ti: ^Type_Info) {
if ti == nil {
print_string("nil")