mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Fix performance bug in RTLIL::SigSpec::operator==(), fixes #970
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
		
							parent
							
								
									314ff1e4ca
								
							
						
					
					
						commit
						9268cd1613
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -3456,7 +3456,7 @@ bool RTLIL::SigSpec::operator ==(const RTLIL::SigSpec &other) const | |||
| 	pack(); | ||||
| 	other.pack(); | ||||
| 
 | ||||
| 	if (chunks_.size() != chunks_.size()) | ||||
| 	if (chunks_.size() != other.chunks_.size()) | ||||
| 		return false; | ||||
| 
 | ||||
| 	updhash(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue