mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
Change the way VMs are created (mostly for tracking where are created)
This commit is contained in:
parent
dcb739e445
commit
fc7a46baf2
1 changed files with 4 additions and 4 deletions
|
|
@ -14,12 +14,12 @@ namespace jit
|
||||||
|
|
||||||
class VM: public VMFace
|
class VM: public VMFace
|
||||||
{
|
{
|
||||||
public:
|
virtual bytesConstRef go(ExtVMFace& _ext, OnOpFunc const& _onOp = {}, uint64_t _steps = (uint64_t)-1) override final;
|
||||||
explicit VM(u256 _gas = 0): VMFace(_gas) {}
|
|
||||||
|
|
||||||
virtual bytesConstRef go(ExtVMFace& _ext, OnOpFunc const& _onOp = {}, uint64_t _steps = (uint64_t)-1) final;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
friend VMFace;
|
||||||
|
explicit VM(u256 _gas = 0): VMFace(_gas) {}
|
||||||
|
|
||||||
bytes m_output;
|
bytes m_output;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue