mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-10-06 10:03:36 +02:00
libparse: overwrite cache whenever old filter doesn't cover new filter
This commit is contained in:
@@ -70,7 +70,7 @@ void LibertyAstCache::parsed_ast(const std::string &fname, const LibertyFilter &
|
||||
return;
|
||||
if (verbose)
|
||||
log("Caching data for liberty file `%s'\n", fname);
|
||||
cached.emplace(fname, CacheEntry{filter, ast});
|
||||
cached[fname] = CacheEntry{filter, ast};
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user