diff options
| author | gingerBill <bill@gingerbill.org> | 2018-01-20 15:12:44 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-01-20 15:12:44 +0000 |
| commit | 2e28c9d79325b57c7bf41abd31804d3960b4c188 (patch) | |
| tree | a5867ec58f68534f55cc666c1d8bbc06ce54b627 /src/checker.cpp | |
| parent | 2fe660a1d7d9ca32eb4a4056b70fccdceb401d49 (diff) | |
Cache type size/align; Improve speed of ir_print.cpp
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index 55df36fb4..041ba1edd 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -3051,7 +3051,7 @@ void check_parsed_files(Checker *c) { for_array(i, c->info.definitions) { Entity *e = c->info.definitions[i]; if (e->kind == Entity_TypeName && e->type != nullptr) { - // i64 size = type_size_of(c->sizes, c->allocator, e->type); + // i64 size = type_size_of(c->allocator, e->type); i64 align = type_align_of(c->allocator, e->type); if (align > 0) { add_type_info_type(c, e->type); |