@@ -153,7 +153,7 @@ void LoongArchAsmBackend::applyFixup(const MCAssembler &Asm,
153153 if (mc::isRelocation (Kind))
154154 return ;
155155 MCFixupKindInfo Info = getFixupKindInfo (Kind);
156- MCContext &Ctx = Asm. getContext ();
156+ MCContext &Ctx = getContext ();
157157
158158 // Fixup leb128 separately.
159159 if (Fixup.getTargetKind () == FK_Data_leb128)
@@ -216,7 +216,7 @@ bool LoongArchAsmBackend::shouldInsertFixupForCodeAlign(MCAssembler &Asm,
216216 return false ;
217217
218218 MCSection *Sec = AF.getParent ();
219- MCContext &Ctx = Asm. getContext ();
219+ MCContext &Ctx = getContext ();
220220 const MCExpr *Dummy = MCConstantExpr::create (0 , Ctx);
221221 MCFixup Fixup = MCFixup::create (0 , Dummy, ELF::R_LARCH_ALIGN);
222222 unsigned MaxBytesToEmit = AF.getMaxBytesToEmit ();
@@ -299,7 +299,7 @@ std::pair<bool, bool> LoongArchAsmBackend::relaxLEB128(const MCAssembler &Asm,
299299bool LoongArchAsmBackend::relaxDwarfLineAddr (const MCAssembler &Asm,
300300 MCDwarfLineAddrFragment &DF,
301301 bool &WasRelaxed) const {
302- MCContext &C = Asm. getContext ();
302+ MCContext &C = getContext ();
303303
304304 int64_t LineDelta = DF.getLineDelta ();
305305 const MCExpr &AddrDelta = DF.getAddrDelta ();
@@ -383,7 +383,7 @@ bool LoongArchAsmBackend::relaxDwarfCFA(const MCAssembler &Asm,
383383 Fixups.clear ();
384384 raw_svector_ostream OS (Data);
385385
386- assert (Asm. getContext ().getAsmInfo ()->getMinInstAlignment () == 1 &&
386+ assert (getContext ().getAsmInfo ()->getMinInstAlignment () == 1 &&
387387 " expected 1-byte alignment" );
388388 if (Value == 0 ) {
389389 WasRelaxed = OldSize != Data.size ();
0 commit comments