mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Assert for parserResult in optimize in AssemblyStack
This commit is contained in:
		
							parent
							
								
									e4ac27d9fe
								
							
						
					
					
						commit
						0f1be75f97
					
				| @ -87,6 +87,7 @@ void AssemblyStack::optimize() | ||||
| 		solUnimplemented("Optimizer for both loose assembly and Yul is not yet implemented"); | ||||
| 	solAssert(m_analysisSuccessful, "Analysis was not successful."); | ||||
| 	m_analysisSuccessful = false; | ||||
| 	solAssert(m_parserResult, ""); | ||||
| 	optimize(*m_parserResult); | ||||
| 	solAssert(analyzeParsed(), "Invalid source code after optimization."); | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user