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; };