mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Merge pull request #2167 from whitequark/cxxrtl-fix-ndebug
cxxrtl: don't compute vital values in log_assert()
This commit is contained in:
		
						commit
						8344846787
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -1845,7 +1845,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