[BOLT] Remove a redundant call to std::unique_ptr<T>::get (NFC) (#145211)
This commit is contained in:
@@ -65,7 +65,7 @@ protected:
|
||||
BC = cantFail(BinaryContext::createBinaryContext(
|
||||
ObjFile->makeTriple(), std::make_shared<orc::SymbolStringPool>(),
|
||||
ObjFile->getFileName(), nullptr, /*IsPIC*/ false,
|
||||
DWARFContext::create(*ObjFile.get()), {llvm::outs(), llvm::errs()}));
|
||||
DWARFContext::create(*ObjFile), {llvm::outs(), llvm::errs()}));
|
||||
ASSERT_FALSE(!BC);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user