aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOutliner.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-10-23 10:44:09 -0700
committerGitHub <noreply@github.com>2024-10-23 10:44:09 -0700
commit141574bacb2c10b795490d0fa5ea31acbc5d8c6e (patch)
treeda09108ab83db0595f53f6bd7d9a171bfbf186ce /llvm/lib/CodeGen/MachineOutliner.cpp
parentf1be516223f1c5ae5554f1b842d90cf429611617 (diff)
downloadllvm-141574bacb2c10b795490d0fa5ea31acbc5d8c6e.zip
llvm-141574bacb2c10b795490d0fa5ea31acbc5d8c6e.tar.gz
llvm-141574bacb2c10b795490d0fa5ea31acbc5d8c6e.tar.bz2
[llvm] Remove redundant calls to std::unique_ptr<T>::get (NFC) (#113415)
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineOutliner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineOutliner.cpp b/llvm/lib/CodeGen/MachineOutliner.cpp
index 6006ea7..2ae6b4f 100644
--- a/llvm/lib/CodeGen/MachineOutliner.cpp
+++ b/llvm/lib/CodeGen/MachineOutliner.cpp
@@ -1370,7 +1370,7 @@ void MachineOutliner::emitOutlinedHashTree(Module &M) {
Triple TT(M.getTargetTriple());
embedBufferInModule(
- M, *Buffer.get(),
+ M, *Buffer,
getCodeGenDataSectionName(CG_outline, TT.getObjectFormat()));
}
}