mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Bugfix for cell hash cache option in opt_share.
This commit is contained in:
		
							parent
							
								
									45ee2ba3b8
								
							
						
					
					
						commit
						8c4c62f3e1
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -273,7 +273,9 @@ struct OptShareWorker
 | 
			
		|||
						}
 | 
			
		||||
					}
 | 
			
		||||
					log("    Removing %s cell `%s' from module `%s'.\n", cell->type.c_str(), cell->name.c_str(), module->name.c_str());
 | 
			
		||||
#ifdef USE_CELL_HASH_CACHE
 | 
			
		||||
					cell_hash_cache.erase(cell);
 | 
			
		||||
#endif
 | 
			
		||||
					module->remove(cell);
 | 
			
		||||
					total_count++;
 | 
			
		||||
				} else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue