From 714e122718c5ac69db53c1d319ac37d07fb722d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Wed, 24 Jun 2015 17:35:20 +0200 Subject: [PATCH] Cleanup issues reported by clang. --- libevmjit/Optimizer.cpp | 3 +-- libevmjit/Stack.h | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/libevmjit/Optimizer.cpp b/libevmjit/Optimizer.cpp index d5bf7f05c..b097a2e3f 100644 --- a/libevmjit/Optimizer.cpp +++ b/libevmjit/Optimizer.cpp @@ -36,8 +36,6 @@ class LowerEVMPass : public llvm::BasicBlockPass { static char ID; - bool m_mulFuncNeeded = false; - public: LowerEVMPass(): llvm::BasicBlockPass(ID) @@ -45,6 +43,7 @@ public: virtual bool runOnBasicBlock(llvm::BasicBlock& _bb) override; + using llvm::BasicBlockPass::doFinalization; virtual bool doFinalization(llvm::Module& _module) override; }; diff --git a/libevmjit/Stack.h b/libevmjit/Stack.h index 6f7ad1c0b..ad10dae12 100644 --- a/libevmjit/Stack.h +++ b/libevmjit/Stack.h @@ -27,12 +27,7 @@ private: llvm::Function* getGetFunc(); RuntimeManager& m_runtimeManager; - - llvm::Function* m_pop = nullptr; - llvm::Function* m_push = nullptr; llvm::Function* m_get = nullptr; - llvm::Function* m_set = nullptr; - Array m_stack; };