diff options
| author | gingerBill <bill@gingerbill.org> | 2023-01-14 13:42:04 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-01-14 13:42:04 +0000 |
| commit | 9aa9429135930fcdb51c99c908c604d348443212 (patch) | |
| tree | 9dd9ec88221aaf675bc46ba5ac2e0b78002aad34 /src/checker.cpp | |
| parent | 518f30e52307e12fe184c34f0da8f197b976ced5 (diff) | |
Update `debugf` usage
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index 01c232bff..1c9ac8d51 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -5187,8 +5187,6 @@ gb_internal void check_unchecked_bodies(Checker *c) { if (pi->body == nullptr) { continue; } - - debugf("unchecked: %.*s\n", LIT(e->token.string)); check_procedure_later(c, pi); } } @@ -5219,11 +5217,12 @@ gb_internal void check_safety_all_procedures_for_unchecked(Checker *c) { GB_ASSERT(pi->decl != nullptr); Entity *e = pi->decl->entity; auto proc_checked_state = pi->decl->proc_checked_state.load(); + gb_unused(proc_checked_state); if (e && ((e->flags & EntityFlag_ProcBodyChecked) == 0)) { if ((e->flags & EntityFlag_Used) != 0) { - debugf("%.*s :: %s\n", LIT(e->token.string), type_to_string(e->type)); - debugf("proc body unchecked\n"); - debugf("Checked State: %s\n\n", ProcCheckedState_strings[proc_checked_state]); + // debugf("%.*s :: %s\n", LIT(e->token.string), type_to_string(e->type)); + // debugf("proc body unchecked\n"); + // debugf("Checked State: %s\n\n", ProcCheckedState_strings[proc_checked_state]); consume_proc_info(c, pi, &untyped); } |