1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Move method out of line to make buildbot happy.

llvm-svn: 223781
This commit is contained in:
Rafael Espindola 2014-12-09 16:18:11 +00:00
parent 6a6bc11916
commit e14ca844be
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;