mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Check again that instruction argument count is correct.
This commit is contained in:
		
							parent
							
								
									b622c2e9d3
								
							
						
					
					
						commit
						f19e6a09a7
					
				| @ -141,6 +141,7 @@ bool AsmAnalyzer::operator()(FunctionalInstruction const& _instr) | ||||
| 			success = false; | ||||
| 	} | ||||
| 	// Parser already checks that the number of arguments is correct.
 | ||||
| 	solAssert(instructionInfo(_instr.instruction).args == _instr.arguments.size(), ""); | ||||
| 	if (!(*this)(_instr.instruction)) | ||||
| 		success = false; | ||||
| 	return success; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user