diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-12-09 20:36:13 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-12-09 20:36:13 +0000 |
commit | 5dec7eaae2b3021b0858b5346c96f6b0001e3712 (patch) | |
tree | 1f47d9b1ad620e5dd822becc8471e8b2936a997a /llvm/tools | |
parent | 4af437fee55a6c7427c9c84f4f1191b70946dbd1 (diff) | |
download | bcm5719-llvm-5dec7eaae2b3021b0858b5346c96f6b0001e3712.tar.gz bcm5719-llvm-5dec7eaae2b3021b0858b5346c96f6b0001e3712.zip |
Rename createIRObjectFile to just create.
It is a static method of IRObjectFile, so having to use
IRObjectFile::createIRObjectFile was redundant.
llvm-svn: 223822
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/gold/gold-plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index 2cb181eca38..25283624735 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/tools/gold/gold-plugin.cpp @@ -303,7 +303,7 @@ static ld_plugin_status claim_file_hook(const ld_plugin_input_file *file, } ErrorOr<std::unique_ptr<object::IRObjectFile>> ObjOrErr = - object::IRObjectFile::createIRObjectFile(BufferRef, Context); + object::IRObjectFile::create(BufferRef, Context); std::error_code EC = ObjOrErr.getError(); if (EC == BitcodeError::InvalidBitcodeSignature || EC == object::object_error::invalid_file_type || @@ -563,7 +563,7 @@ getModuleForFile(LLVMContext &Context, claimed_file &F, raw_fd_ostream *ApiFile, MemoryBufferRef BufferRef(StringRef((const char *)View, File.filesize), ""); ErrorOr<std::unique_ptr<object::IRObjectFile>> ObjOrErr = - object::IRObjectFile::createIRObjectFile(BufferRef, Context); + object::IRObjectFile::create(BufferRef, Context); if (std::error_code EC = ObjOrErr.getError()) message(LDPL_FATAL, "Could not read bitcode from file : %s", |