projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40a93ae
)
Remove unnecessary/redundant std::move
author
David Blaikie
<dblaikie@gmail.com>
Wed, 16 Jul 2014 17:09:21 +0000
(17:09 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Wed, 16 Jul 2014 17:09:21 +0000
(17:09 +0000)
(run returns unique_ptr by value already)
llvm-svn: 213174
llvm/lib/IR/PassManager.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/IR/PassManager.cpp
b/llvm/lib/IR/PassManager.cpp
index
0defb6a
..
2e2a7cb
100644
(file)
--- a/
llvm/lib/IR/PassManager.cpp
+++ b/
llvm/lib/IR/PassManager.cpp
@@
-53,7
+53,7
@@
ModuleAnalysisManager::getResultImpl(void *PassID, Module *M) {
// If we don't have a cached result for this module, look up the pass and run
// it to produce a result, which we then add to the cache.
if (Inserted)
- RI->second =
std::move(lookupPass(PassID).run(M, this)
);
+ RI->second =
lookupPass(PassID).run(M, this
);
return *RI->second;
}