From 6acbfe07b27cafd6eb1438c01924e3d3193aaa59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Tue, 23 Dec 2014 00:49:01 +0100 Subject: [PATCH] Remove unused function --- libevmjit/Runtime.cpp | 5 ----- libevmjit/Runtime.h | 1 - 2 files changed, 6 deletions(-) diff --git a/libevmjit/Runtime.cpp b/libevmjit/Runtime.cpp index 9cc09032e0..27c81ea861 100644 --- a/libevmjit/Runtime.cpp +++ b/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 diff --git a/libevmjit/Runtime.h b/libevmjit/Runtime.h index adb736ecc4..25da2475a4 100644 --- a/libevmjit/Runtime.h +++ b/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();