mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	--vm command line option replacing --jit.
This commit is contained in:
		
							parent
							
								
									7ce128e322
								
							
						
					
					
						commit
						953e392ad2
					
				| @ -235,7 +235,7 @@ void ImportTest::importState(json_spirit::mObject& _o, State& _state) | ||||
| } | ||||
| 
 | ||||
| void ImportTest::importTransaction(json_spirit::mObject& _o) | ||||
| {	 | ||||
| { | ||||
| 	if (_o.count("secretKey") > 0) | ||||
| 	{ | ||||
| 		assert(_o.count("nonce") > 0); | ||||
| @ -728,7 +728,7 @@ Options::Options() | ||||
| 	for (auto i = 0; i < argc; ++i) | ||||
| 	{ | ||||
| 		auto arg = std::string{argv[i]}; | ||||
| 		if (arg == "--jit") | ||||
| 		if (arg == "--jit" || arg == "--vm=jit") // TODO: Remove deprecated option "--jit"
 | ||||
| 			eth::VMFactory::setKind(eth::VMKind::JIT); | ||||
| 		else if (arg == "--vm=smart") | ||||
| 			eth::VMFactory::setKind(eth::VMKind::Smart); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user