mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	LLL: update exception message
This commit is contained in:
		
							parent
							
								
									b24eed1c3e
								
							
						
					
					
						commit
						5be1996ea5
					
				| @ -34,8 +34,7 @@ bytes dev::eth::compileLLL(string const& _src, bool _opt, vector<string>* _error | |||||||
| 	{ | 	{ | ||||||
| 		CompilerState cs; | 		CompilerState cs; | ||||||
| 		cs.populateStandard(); | 		cs.populateStandard(); | ||||||
| 		auto f = CodeFragment::compile(_src, cs); | 		bytes ret = CodeFragment::compile(_src, cs).assembly(cs).optimise(_opt).assemble().bytecode; | ||||||
| 		bytes ret = f.assembly(cs).optimise(_opt).assemble().bytecode; |  | ||||||
| 		for (auto i: cs.treesToKill) | 		for (auto i: cs.treesToKill) | ||||||
| 			killBigints(i); | 			killBigints(i); | ||||||
| 		return ret; | 		return ret; | ||||||
| @ -59,7 +58,7 @@ bytes dev::eth::compileLLL(string const& _src, bool _opt, vector<string>* _error | |||||||
| 	catch (...) | 	catch (...) | ||||||
| 	{ | 	{ | ||||||
| 		if (_errors) | 		if (_errors) | ||||||
| 			_errors->push_back("Internal parse exception."); | 			_errors->push_back("Internal compiler exception."); | ||||||
| 	} | 	} | ||||||
| 	return bytes(); | 	return bytes(); | ||||||
| } | } | ||||||
| @ -93,7 +92,7 @@ std::string dev::eth::compileLLLToAsm(std::string const& _src, bool _opt, std::v | |||||||
| 	catch (...) | 	catch (...) | ||||||
| 	{ | 	{ | ||||||
| 		if (_errors) | 		if (_errors) | ||||||
| 			_errors->push_back("Internal parse exception."); | 			_errors->push_back("Internal compiler exception."); | ||||||
| 	} | 	} | ||||||
| 	return string(); | 	return string(); | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user