diff options
| author | gingerBill <bill@gingerbill.org> | 2023-05-22 21:34:20 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-05-22 21:34:20 +0100 |
| commit | bdbbaf6c880c1ac481859160cb632b49ecbe6b46 (patch) | |
| tree | 63ea772e0e5618ed6115ead7fc47a9caffed8e17 /src | |
| parent | 24a1a8a62680d59afb56827771b49dee62d384b6 (diff) | |
Disable stable_type_cache for the time being
Diffstat (limited to 'src')
| -rw-r--r-- | src/docs_writer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/docs_writer.cpp b/src/docs_writer.cpp index 7dab5a8b1..18178dd51 100644 --- a/src/docs_writer.cpp +++ b/src/docs_writer.cpp @@ -481,10 +481,10 @@ gb_internal OdinDocTypeIndex odin_doc_type(OdinDocWriter *w, Type *type) { return 0; } - Type **mapped_type = map_get(&w->stable_type_cache, type); // may map to itself - if (mapped_type && *mapped_type) { - type = *mapped_type; - } + // Type **mapped_type = map_get(&w->stable_type_cache, type); // may map to itself + // if (mapped_type && *mapped_type) { + // type = *mapped_type; + // } OdinDocTypeIndex *found = map_get(&w->type_cache, type); if (found) { |