You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
247 B
28 lines
247 B
#pragma once
|
|
|
|
#include <libevm/VMFace.h>
|
|
|
|
namespace dev
|
|
{
|
|
namespace eth
|
|
{
|
|
|
|
/**
|
|
*/
|
|
|
|
class VMFactory
|
|
{
|
|
public:
|
|
enum Kind: bool {
|
|
Interpreter,
|
|
#if ETH_EVMJIT
|
|
JIT
|
|
#endif
|
|
};
|
|
|
|
static std::unique_ptr<VMFace> create(Kind, u256 _gas = 0);
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|