@@ -577,7 +577,7 @@ static bool ExecuteAssemblerImpl(AssemblerInvocation &Opts,
577577    Triple T (Opts.Triple );
578578    Str.reset (TheTarget->createMCObjectStreamer (
579579        T, Ctx, std::move (MAB), std::move (OW), std::move (CE), *STI));
580-     Str. get () ->initSections (Opts.NoExecStack , *STI);
580+     Str->initSections (Opts.NoExecStack , *STI);
581581    if  (T.isOSBinFormatMachO () && T.isOSDarwin ()) {
582582      Triple *TVT = Opts.DarwinTargetVariantTriple 
583583                        ? &*Opts.DarwinTargetVariantTriple 
@@ -592,14 +592,14 @@ static bool ExecuteAssemblerImpl(AssemblerInvocation &Opts,
592592  if  (Opts.EmbedBitcode  && Ctx.getObjectFileType () == MCContext::IsMachO) {
593593    MCSection *AsmLabel = Ctx.getMachOSection (
594594        " __LLVM"  , " __asm"  , MachO::S_REGULAR, 4 , SectionKind::getReadOnly ());
595-     Str. get () ->switchSection (AsmLabel);
596-     Str. get () ->emitZeros (1 );
595+     Str->switchSection (AsmLabel);
596+     Str->emitZeros (1 );
597597  }
598598
599599  bool  Failed = false ;
600600
601601  std::unique_ptr<MCAsmParser> Parser (
602-       createMCAsmParser (SrcMgr, Ctx, *Str. get () , *MAI));
602+       createMCAsmParser (SrcMgr, Ctx, *Str, *MAI));
603603
604604  //  FIXME: init MCTargetOptions from sanitizer flags here.
605605  std::unique_ptr<MCTargetAsmParser> TAP (
@@ -619,7 +619,7 @@ static bool ExecuteAssemblerImpl(AssemblerInvocation &Opts,
619619  }
620620
621621  if  (!Failed) {
622-     Parser->setTargetParser (*TAP. get () );
622+     Parser->setTargetParser (*TAP);
623623    Failed = Parser->Run (Opts.NoInitialTextSection );
624624  }
625625
0 commit comments