mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Fixes for some of clang scan-build detected issues
This commit is contained in:
		
							parent
							
								
									956c4e485a
								
							
						
					
					
						commit
						6574553189
					
				
					 15 changed files with 39 additions and 23 deletions
				
			
		|  | @ -4705,8 +4705,7 @@ void AstNode::mem2reg_as_needed_pass1(dict<AstNode*, pool<std::string>> &mem2reg | |||
| 			children_flags |= AstNode::MEM2REG_FL_ASYNC; | ||||
| 		proc_flags_p = new dict<AstNode*, uint32_t>; | ||||
| 	} | ||||
| 
 | ||||
| 	if (type == AST_INITIAL) { | ||||
| 	else if (type == AST_INITIAL) { | ||||
| 		children_flags |= AstNode::MEM2REG_FL_INIT; | ||||
| 		proc_flags_p = new dict<AstNode*, uint32_t>; | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue