mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	cxxrtl: don't compute vital values in log_assert().
This breaks NDEBUG builds. Fixes #2166.
This commit is contained in:
		
							parent
							
								
									334ec5fa0a
								
							
						
					
					
						commit
						3c4e974d7b
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -1839,7 +1839,8 @@ struct CxxrtlWorker { | |||
| 				topo_design.edge(cell_module, module); | ||||
| 			} | ||||
| 		} | ||||
| 		log_assert(topo_design.sort()); | ||||
| 		bool no_loops = topo_design.sort(); | ||||
| 		log_assert(no_loops); | ||||
| 		modules.insert(modules.end(), topo_design.sorted.begin(), topo_design.sorted.end()); | ||||
| 
 | ||||
| 		if (split_intf) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue