diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-12-09 16:18:11 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-12-09 16:18:11 +0000 |
commit | 25a7e0a89f8ba1f21a023580e0514dc018ef025c (patch) | |
tree | 93d6e713ad73e0152e4a269939c7bc866d098612 | |
parent | 527e846ef7d15ee17459ab7b9e7454504f9b1b96 (diff) | |
download | bcm5719-llvm-25a7e0a89f8ba1f21a023580e0514dc018ef025c.tar.gz bcm5719-llvm-25a7e0a89f8ba1f21a023580e0514dc018ef025c.zip |
Move method out of line to make buildbot happy.
llvm-svn: 223781
-rw-r--r-- | llvm/include/llvm/Object/IRObjectFile.h | 2 | ||||
-rw-r--r-- | llvm/lib/Object/IRObjectFile.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/llvm/include/llvm/Object/IRObjectFile.h b/llvm/include/llvm/Object/IRObjectFile.h index 10ea05ddf1f..3a6edd0ab7c 100644 --- a/llvm/include/llvm/Object/IRObjectFile.h +++ b/llvm/include/llvm/Object/IRObjectFile.h @@ -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(); diff --git a/llvm/lib/Object/IRObjectFile.cpp b/llvm/lib/Object/IRObjectFile.cpp index 84b6c95f2c7..185b783e350 100644 --- a/llvm/lib/Object/IRObjectFile.cpp +++ b/llvm/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<Module> IRObjectFile::takeModule() { return std::move(M); } + basic_symbol_iterator IRObjectFile::symbol_begin_impl() const { Module::const_iterator I = M->begin(); DataRefImpl Ret; |