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
This commit is contained in:
Rafael Espindola 2014-12-09 16:18:11 +00:00
parent 4f20ed1c36
commit 8a48c86a5f
2 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,7 @@ public:
Module &getModule() {
return *M;
}
std::unique_ptr<Module> takeModule() { return std::move(M); }
std::unique_ptr<Module> takeModule();
static inline bool classof(const Binary *v) {
return v->isIR();

View File

@ -237,6 +237,8 @@ uint32_t IRObjectFile::getSymbolFlags(DataRefImpl Symb) const {
GlobalValue *IRObjectFile::getSymbolGV(DataRefImpl Symb) { return getGV(Symb); }
std::unique_ptr<Module> IRObjectFile::takeModule() { return std::move(M); }
basic_symbol_iterator IRObjectFile::symbol_begin_impl() const {
Module::const_iterator I = M->begin();
DataRefImpl Ret;