mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	kernel: separate IdString::put_reference() out to help inlining
This commit is contained in:
		
							parent
							
								
									4a8cecf03e
								
							
						
					
					
						commit
						6d4f01c3fa
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -235,7 +235,10 @@ namespace RTLIL
 | 
			
		|||
				return;
 | 
			
		||||
 | 
			
		||||
			log_assert(refcount == 0);
 | 
			
		||||
 | 
			
		||||
			free_reference(idx);
 | 
			
		||||
		}
 | 
			
		||||
		static inline void free_reference(int idx)
 | 
			
		||||
		{
 | 
			
		||||
			if (yosys_xtrace) {
 | 
			
		||||
				log("#X# Removed IdString '%s' with index %d.\n", global_id_storage_.at(idx), idx);
 | 
			
		||||
				log_backtrace("-X- ", yosys_xtrace-1);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue