diff options
Diffstat (limited to 'llvm/lib/MC/WasmObjectWriter.cpp')
-rw-r--r-- | llvm/lib/MC/WasmObjectWriter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/MC/WasmObjectWriter.cpp b/llvm/lib/MC/WasmObjectWriter.cpp index 098343cd010..a3863303838 100644 --- a/llvm/lib/MC/WasmObjectWriter.cpp +++ b/llvm/lib/MC/WasmObjectWriter.cpp @@ -1296,12 +1296,12 @@ uint64_t WasmObjectWriter::writeObject(MCAssembler &Asm, // Separate out the producers and target features sections if (Name == "producers") { - ProducersSection = llvm::make_unique<WasmCustomSection>(Name, &Section); + ProducersSection = std::make_unique<WasmCustomSection>(Name, &Section); continue; } if (Name == "target_features") { TargetFeaturesSection = - llvm::make_unique<WasmCustomSection>(Name, &Section); + std::make_unique<WasmCustomSection>(Name, &Section); continue; } @@ -1618,5 +1618,5 @@ uint64_t WasmObjectWriter::writeObject(MCAssembler &Asm, std::unique_ptr<MCObjectWriter> llvm::createWasmObjectWriter(std::unique_ptr<MCWasmObjectTargetWriter> MOTW, raw_pwrite_stream &OS) { - return llvm::make_unique<WasmObjectWriter>(std::move(MOTW), OS); + return std::make_unique<WasmObjectWriter>(std::move(MOTW), OS); } |