Skip to content

Commit

Permalink
1545 Fix pull request comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex committed Dec 18, 2024
1 parent 742d82b commit 55c8e71
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libevm/VMFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ struct VMKindTableEntry {
/// We don't use a map to avoid complex dynamic initialization. This list will never be long,
/// so linear search only to parse command line arguments is not a problem.
VMKindTableEntry vmKindsTable[] = {
{ VMKind::Interpreter, "interpreter" },
{ VMKind::Legacy, "legacy" },
};

Expand Down Expand Up @@ -170,8 +169,6 @@ VMPtr VMFactory::create( VMKind _kind ) {
static const auto null_delete = []( VMFace* ) noexcept {};

switch ( _kind ) {
case VMKind::Interpreter:
return { new EVMC{ evmc_create_interpreter() }, default_delete };
case VMKind::DLL:
assert( g_evmcDll != nullptr );
// Return "fake" owning pointer to global EVMC DLL VM.
Expand Down

0 comments on commit 55c8e71

Please sign in to comment.