mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Revert change
This commit is contained in:
+6
-7
@@ -4855,13 +4855,12 @@ bool check_proc_info(Checker *c, ProcInfo *pi, UntypedExprInfoMap *untyped, Proc
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOTE(bill, 2022-01-25): Appears to be not needed any more
|
if (pt->is_polymorphic && pt->is_poly_specialized) {
|
||||||
// if (pt->is_polymorphic && pt->is_poly_specialized) {
|
if ((e->flags & EntityFlag_Used) == 0) {
|
||||||
// if ((e->flags & EntityFlag_Used) == 0) {
|
// NOTE(bill, 2019-08-31): It was never used, don't check
|
||||||
// // NOTE(bill, 2019-08-31): It was never used, don't check
|
return false;
|
||||||
// return false;
|
}
|
||||||
// }
|
}
|
||||||
// }
|
|
||||||
|
|
||||||
bool bounds_check = (pi->tags & ProcTag_bounds_check) != 0;
|
bool bounds_check = (pi->tags & ProcTag_bounds_check) != 0;
|
||||||
bool no_bounds_check = (pi->tags & ProcTag_no_bounds_check) != 0;
|
bool no_bounds_check = (pi->tags & ProcTag_no_bounds_check) != 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user