From: Rafael Espindola Date: Tue, 9 Dec 2014 16:18:11 +0000 (+0000) Subject: Move method out of line to make buildbot happy. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=8a48c86a5ffa1e1f238d75bb8dbb533e6b049bf1 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 --- diff --git a/include/llvm/Object/IRObjectFile.h b/include/llvm/Object/IRObjectFile.h index 10ea05ddf1f..3a6edd0ab7c 100644 --- a/include/llvm/Object/IRObjectFile.h +++ b/include/llvm/Object/IRObjectFile.h @@ -49,7 +49,7 @@ public: Module &getModule() { return *M; } - std::unique_ptr takeModule() { return std::move(M); } + std::unique_ptr takeModule(); static inline bool classof(const Binary *v) { return v->isIR(); diff --git a/lib/Object/IRObjectFile.cpp b/lib/Object/IRObjectFile.cpp index 84b6c95f2c7..185b783e350 100644 --- a/lib/Object/IRObjectFile.cpp +++ b/lib/Object/IRObjectFile.cpp @@ -237,6 +237,8 @@ uint32_t IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { GlobalValue *IRObjectFile::getSymbolGV(DataRefImpl Symb) { return getGV(Symb); } +std::unique_ptr IRObjectFile::takeModule() { return std::move(M); } + basic_symbol_iterator IRObjectFile::symbol_begin_impl() const { Module::const_iterator I = M->begin(); DataRefImpl Ret;