Browse Source

Remove explicit move constructor of BasicBlock.

cl-refactor
Paweł Bylica 10 years ago
parent
commit
94b3c55c7f
  1. 9
      evmjit/libevmjit/BasicBlock.h

9
evmjit/libevmjit/BasicBlock.h

@ -67,9 +67,6 @@ class BasicBlock
public: public:
explicit BasicBlock(instr_idx _firstInstrIdx, code_iterator _begin, code_iterator _end, llvm::Function* _mainFunc); explicit BasicBlock(instr_idx _firstInstrIdx, code_iterator _begin, code_iterator _end, llvm::Function* _mainFunc);
BasicBlock(BasicBlock&&) = default;
BasicBlock& operator=(BasicBlock&&) = default;
llvm::BasicBlock* llvm() { return m_llvmBB; } llvm::BasicBlock* llvm() { return m_llvmBB; }
instr_idx firstInstrIdx() const { return m_firstInstrIdx; } instr_idx firstInstrIdx() const { return m_firstInstrIdx; }
@ -78,10 +75,10 @@ public:
private: private:
instr_idx const m_firstInstrIdx = 0; ///< Code index of first instruction in the block instr_idx const m_firstInstrIdx = 0; ///< Code index of first instruction in the block
code_iterator const m_begin = {}; ///< Iterator pointing code beginning of the block code_iterator const m_begin = {}; ///< Iterator pointing code beginning of the block
code_iterator const m_end = {}; ///< Iterator pointing code end of the block code_iterator const m_end = {}; ///< Iterator pointing code end of the block
llvm::BasicBlock* const m_llvmBB; llvm::BasicBlock* const m_llvmBB; ///< Reference to the LLVM BasicBlock
}; };
} }

Loading…
Cancel
Save