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.
29 lines
247 B
29 lines
247 B
10 years ago
|
#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);
|
||
|
};
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|