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
/
Analysis
/
AliasSetTracker.cpp
diff --git
a/lib/Analysis/AliasSetTracker.cpp
b/lib/Analysis/AliasSetTracker.cpp
index 50890c17f2eb997c68736fb7402e755296b6c4f6..12c1c7d4af90fb4d97a9fb8ecfead3a046c9022d 100644
(file)
--- a/
lib/Analysis/AliasSetTracker.cpp
+++ b/
lib/Analysis/AliasSetTracker.cpp
@@
-130,7
+130,7
@@
void AliasSet::addPointer(AliasSetTracker &AST, PointerRec &Entry,
void AliasSet::addUnknownInst(Instruction *I, AliasAnalysis &AA) {
if (UnknownInsts.empty())
addRef();
- UnknownInsts.
push
_back(I);
+ UnknownInsts.
emplace
_back(I);
if (!I->mayWriteToMemory()) {
AliasTy = MayAlias;