|
|
@ -32,7 +32,6 @@ class Runtime |
|
|
|
{ |
|
|
|
public: |
|
|
|
Runtime(RuntimeData* _data, Env* _env); |
|
|
|
~Runtime(); |
|
|
|
|
|
|
|
Runtime(const Runtime&) = delete; |
|
|
|
void operator=(const Runtime&) = delete; |
|
|
@ -43,7 +42,6 @@ public: |
|
|
|
|
|
|
|
bytes getReturnData() const; |
|
|
|
jmp_buf_ref getJmpBuf() { return m_jmpBuf; } |
|
|
|
static jmp_buf_ref getCurrJmpBuf(); |
|
|
|
|
|
|
|
private: |
|
|
|
RuntimeData& m_data; ///< Pointer to data. Expected by compiled contract.
|
|
|
@ -51,7 +49,6 @@ private: |
|
|
|
jmp_buf_ref m_currJmpBuf; ///< Pointer to jump buffer. Expected by compiled contract.
|
|
|
|
byte* m_memoryData = nullptr; |
|
|
|
i256 m_memorySize = {}; |
|
|
|
jmp_buf_ref m_prevJmpBuf; |
|
|
|
std::jmp_buf m_jmpBuf; |
|
|
|
StackImpl m_stack; |
|
|
|
MemoryImpl m_memory; |
|
|
|