mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Replaced std::unordered_set (nodict) with Yosys::pool
This commit is contained in:
		
							parent
							
								
									9e6fb0b02c
								
							
						
					
					
						commit
						ec4751e55c
					
				
					 8 changed files with 394 additions and 137 deletions
				
			
		| 
						 | 
				
			
			@ -91,10 +91,10 @@ struct DeletePass : public Pass {
 | 
			
		|||
				continue;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			nodict<RTLIL::Wire*> delete_wires;
 | 
			
		||||
			nodict<RTLIL::Cell*> delete_cells;
 | 
			
		||||
			nodict<RTLIL::IdString> delete_procs;
 | 
			
		||||
			nodict<RTLIL::IdString> delete_mems;
 | 
			
		||||
			pool<RTLIL::Wire*, hash_ptr_ops> delete_wires;
 | 
			
		||||
			pool<RTLIL::Cell*, hash_ptr_ops> delete_cells;
 | 
			
		||||
			pool<RTLIL::IdString> delete_procs;
 | 
			
		||||
			pool<RTLIL::IdString> delete_mems;
 | 
			
		||||
 | 
			
		||||
			for (auto &it : module->wires_)
 | 
			
		||||
				if (design->selected(module, it.second))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue