diff options
Diffstat (limited to 'llvm/lib/IR/LegacyPassManager.cpp')
-rw-r--r-- | llvm/lib/IR/LegacyPassManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/LegacyPassManager.cpp b/llvm/lib/IR/LegacyPassManager.cpp index 08e8906e88d..f2e0c7d32c0 100644 --- a/llvm/lib/IR/LegacyPassManager.cpp +++ b/llvm/lib/IR/LegacyPassManager.cpp @@ -589,7 +589,7 @@ AnalysisUsage *PMTopLevelManager::findAnalysisUsage(Pass *P) { if (auto *N = UniqueAnalysisUsages.FindNodeOrInsertPos(ID, IP)) Node = N; else { - Node = new (AUFoldingSetNodeAllocator) AUFoldingSetNode(AU); + Node = new (AUFoldingSetNodeAllocator.Allocate()) AUFoldingSetNode(AU); UniqueAnalysisUsages.InsertNode(Node, IP); } assert(Node && "cached analysis usage must be non null"); |