mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
Fix a pessimising move warning.
llvm-svn: 301852
This commit is contained in:
parent
66266b1e91
commit
e3c040a9f5
@ -5503,11 +5503,7 @@ Error BitcodeModule::readSummary(ModuleSummaryIndex &CombinedIndex,
|
||||
|
||||
ModuleSummaryIndexBitcodeReader R(std::move(Stream), Strtab, CombinedIndex,
|
||||
ModuleIdentifier, ModuleId);
|
||||
|
||||
if (Error Err = R.parseModule())
|
||||
return std::move(Err);
|
||||
|
||||
return Error::success();
|
||||
return R.parseModule();
|
||||
}
|
||||
|
||||
// Parse the specified bitcode buffer, returning the function info index.
|
||||
|
Loading…
x
Reference in New Issue
Block a user