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.
23 lines
399 B
23 lines
399 B
10 years ago
|
#pragma once
|
||
|
|
||
|
#include "evmjit/DataTypes.h"
|
||
|
|
||
|
namespace dev
|
||
|
{
|
||
|
namespace evmjit
|
||
|
{
|
||
|
|
||
|
class JIT
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
/// Ask JIT if the EVM code is ready for execution.
|
||
|
/// Returns `true` if the EVM code has been compiled and loaded into memory.
|
||
|
/// In this case the code can be executed without overhead.
|
||
|
/// \param _codeHash The Keccak hash of the EVM code.
|
||
|
static bool isCodeReady(h256 _codeHash);
|
||
|
};
|
||
|
|
||
|
}
|
||
|
}
|