mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Fix LLL tests using the opimiser
This commit is contained in:
		
							parent
							
								
									e3c1dea97c
								
							
						
					
					
						commit
						7ec3eaa40d
					
				| @ -56,7 +56,12 @@ public: | ||||
| 		BOOST_REQUIRE(_libraryAddresses.empty()); | ||||
| 
 | ||||
| 		std::vector<std::string> errors; | ||||
| 		bytes bytecode = lll::compileLLL(_sourceCode, dev::test::Options::get().evmVersion(), m_optimize, &errors); | ||||
| 		bytes bytecode = lll::compileLLL( | ||||
| 			_sourceCode, | ||||
| 			dev::test::Options::get().evmVersion(), | ||||
| 			m_optimiserSettings == solidity::OptimiserSettings::enabled(), | ||||
| 			&errors | ||||
| 		); | ||||
| 		if (!errors.empty()) | ||||
| 		{ | ||||
| 			for (auto const& error: errors) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user