mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use evmc_load_and_configure to support passing EVMC options
This commit is contained in:
parent
882cd3e285
commit
18542ebf31
@ -41,7 +41,7 @@ evmc::vm* EVMHost::getVM(string const& _path)
|
||||
if (!theVM && !_path.empty())
|
||||
{
|
||||
evmc_loader_error_code errorCode = {};
|
||||
evmc_instance* vm = evmc_load_and_create(_path.c_str(), &errorCode);
|
||||
evmc_instance* vm = evmc_load_and_configure(_path.c_str(), &errorCode);
|
||||
if (vm && errorCode == EVMC_LOADER_SUCCESS)
|
||||
{
|
||||
if (evmc_vm_has_capability(vm, EVMC_CAPABILITY_EVM1))
|
||||
|
Loading…
Reference in New Issue
Block a user