diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/CodeGen/GCMetadata.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/CodeGen/GCMetadata.cpp | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/lib/CodeGen/GCMetadata.cpp b/contrib/llvm-project/llvm/lib/CodeGen/GCMetadata.cpp index 9c53550eaa9d..600d662e0f99 100644 --- a/contrib/llvm-project/llvm/lib/CodeGen/GCMetadata.cpp +++ b/contrib/llvm-project/llvm/lib/CodeGen/GCMetadata.cpp @@ -10,11 +10,12 @@  //  //===----------------------------------------------------------------------===// -#include "llvm/ADT/STLExtras.h"  #include "llvm/CodeGen/GCMetadata.h" +#include "llvm/ADT/STLExtras.h"  #include "llvm/CodeGen/GCStrategy.h"  #include "llvm/CodeGen/Passes.h"  #include "llvm/IR/Function.h" +#include "llvm/InitializePasses.h"  #include "llvm/MC/MCSymbol.h"  #include "llvm/Pass.h"  #include "llvm/Support/ErrorHandling.h" @@ -72,7 +73,7 @@ GCFunctionInfo &GCModuleInfo::getFunctionInfo(const Function &F) {      return *I->second;    GCStrategy *S = getGCStrategy(F.getGC()); -  Functions.push_back(llvm::make_unique<GCFunctionInfo>(F, *S)); +  Functions.push_back(std::make_unique<GCFunctionInfo>(F, *S));    GCFunctionInfo *GFI = Functions.back().get();    FInfoMap[&F] = GFI;    return *GFI;  | 
