projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When checking whether the special handling for an addrec increment which
[oota-llvm.git]
/
lib
/
Analysis
/
LoopDependenceAnalysis.cpp
diff --git
a/lib/Analysis/LoopDependenceAnalysis.cpp
b/lib/Analysis/LoopDependenceAnalysis.cpp
index bb4f46dff9af0e50d07315ef81e3aba0ec0a9073..e1019474cf4313f97997e0cb1530781970b4f03c 100644
(file)
--- a/
lib/Analysis/LoopDependenceAnalysis.cpp
+++ b/
lib/Analysis/LoopDependenceAnalysis.cpp
@@
-119,8
+119,7
@@
bool LoopDependenceAnalysis::findOrInsertDependencePair(Value *A,
P = Pairs.FindNodeOrInsertPos(id, insertPos);
if (P) return true;
- P = PairAllocator.Allocate<DependencePair>();
- new (P) DependencePair(id, A, B);
+ P = new (PairAllocator) DependencePair(id, A, B);
Pairs.InsertNode(P, insertPos);
return false;
}