Browse Source

Cleanup issues reported by clang.

cl-refactor
Paweł Bylica 10 years ago
parent
commit
714e122718
  1. 3
      libevmjit/Optimizer.cpp
  2. 5
      libevmjit/Stack.h

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

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

Loading…
Cancel
Save