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