mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Disable stable_type_cache for the time being
This commit is contained in:
+4
-4
@@ -481,10 +481,10 @@ gb_internal OdinDocTypeIndex odin_doc_type(OdinDocWriter *w, Type *type) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
Type **mapped_type = map_get(&w->stable_type_cache, type); // may map to itself
|
// Type **mapped_type = map_get(&w->stable_type_cache, type); // may map to itself
|
||||||
if (mapped_type && *mapped_type) {
|
// if (mapped_type && *mapped_type) {
|
||||||
type = *mapped_type;
|
// type = *mapped_type;
|
||||||
}
|
// }
|
||||||
|
|
||||||
OdinDocTypeIndex *found = map_get(&w->type_cache, type);
|
OdinDocTypeIndex *found = map_get(&w->type_cache, type);
|
||||||
if (found) {
|
if (found) {
|
||||||
|
|||||||
Reference in New Issue
Block a user