projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types
[oota-llvm.git]
/
lib
/
Transforms
/
IPO
/
MergeFunctions.cpp
diff --git
a/lib/Transforms/IPO/MergeFunctions.cpp
b/lib/Transforms/IPO/MergeFunctions.cpp
index 91a5eefca17dd3a2b5b08e202055d221eb198f0b..1327645183ef25a853cc8b5f754b5b622a342ff7 100644
(file)
--- a/
lib/Transforms/IPO/MergeFunctions.cpp
+++ b/
lib/Transforms/IPO/MergeFunctions.cpp
@@
-1465,7
+1465,7
@@
void MergeFunctions::remove(Function *F) {
if (Erased) {
DEBUG(dbgs() << "Removed " << F->getName()
<< " from set and deferred it.\n");
- Deferred.
push
_back(F);
+ Deferred.
emplace
_back(F);
}
}