Browse Source

Remove unused function

cl-refactor
Paweł Bylica 10 years ago
parent
commit
6acbfe07b2
  1. 5
      libevmjit/Runtime.cpp
  2. 1
      libevmjit/Runtime.h

5
libevmjit/Runtime.cpp

@ -35,11 +35,6 @@ Runtime::~Runtime()
g_currJmpBuf = m_prevJmpBuf;
}
u256 Runtime::getGas() const
{
return llvm2eth(m_data.elems[RuntimeData::Gas]);
}
bytes Runtime::getReturnData() const // FIXME: Reconsider returning by copy
{
// TODO: Handle large indexes

1
libevmjit/Runtime.h

@ -41,7 +41,6 @@ public:
MemoryImpl& getMemory() { return m_memory; }
Env* getEnvPtr() { return &m_env; }
u256 getGas() const;
bytes getReturnData() const;
jmp_buf_ref getJmpBuf() { return m_jmpBuf; }
static jmp_buf_ref getCurrJmpBuf();

Loading…
Cancel
Save