llvm.org GIT mirror llvm / 8a48c86
Move method out of line to make buildbot happy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223781 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 4 years ago
2 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
4848 Module &getModule() {
4949 return *M;
5050 }
51 std::unique_ptr takeModule() { return std::move(M); }
51 std::unique_ptr takeModule();
5252
5353 static inline bool classof(const Binary *v) {
5454 return v->isIR();
236236
237237 GlobalValue *IRObjectFile::getSymbolGV(DataRefImpl Symb) { return getGV(Symb); }
238238
239 std::unique_ptr IRObjectFile::takeModule() { return std::move(M); }
240
239241 basic_symbol_iterator IRObjectFile::symbol_begin_impl() const {
240242 Module::const_iterator I = M->begin();
241243 DataRefImpl Ret;