Browse Source

Change the way VMs are created (mostly for tracking where are created)

cl-refactor
Paweł Bylica 10 years ago
parent
commit
fc7a46baf2
  1. 8
      libevmjit/VM.h

8
libevmjit/VM.h

@ -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…
Cancel
Save