diff options
| author | gingerBill <bill@gingerbill.org> | 2024-07-15 00:25:41 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-07-15 00:25:41 +0100 |
| commit | 139c1bcdda68c30c56ae26a9715a38074b9a1129 (patch) | |
| tree | 7ba752d0a145f3ff9ff0eb5ab4c671584de7c50b /src/parser.cpp | |
| parent | 46817e8f685ecc18bcf7b3dbbdecbf4d59ec3cc2 (diff) | |
Comment out debug code
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index a6a146cfd..4924dd37d 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -112,7 +112,7 @@ gb_internal isize ast_node_size(AstKind kind) { } -gb_global std::atomic<isize> global_total_node_memory_allocated; +// gb_global std::atomic<isize> global_total_node_memory_allocated; // NOTE(bill): And this below is why is I/we need a new language! Discriminated unions are a pain in C/C++ gb_internal Ast *alloc_ast_node(AstFile *f, AstKind kind) { @@ -122,7 +122,7 @@ gb_internal Ast *alloc_ast_node(AstFile *f, AstKind kind) { node->kind = kind; node->file_id = f ? f->id : 0; - global_total_node_memory_allocated.fetch_add(size); + // global_total_node_memory_allocated.fetch_add(size); return node; } |