mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
MC: Clean up MCExpr naming. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238634 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -192,9 +192,9 @@ void DwarfAccelTable::emitOffsets(AsmPrinter *Asm, const MCSymbol *SecBegin) {
|
||||
PrevHash = HashValue;
|
||||
Asm->OutStreamer->AddComment("Offset in Bucket " + Twine(i));
|
||||
MCContext &Context = Asm->OutStreamer->getContext();
|
||||
const MCExpr *Sub = MCBinaryExpr::CreateSub(
|
||||
MCSymbolRefExpr::Create((*HI)->Sym, Context),
|
||||
MCSymbolRefExpr::Create(SecBegin, Context), Context);
|
||||
const MCExpr *Sub = MCBinaryExpr::createSub(
|
||||
MCSymbolRefExpr::create((*HI)->Sym, Context),
|
||||
MCSymbolRefExpr::create(SecBegin, Context), Context);
|
||||
Asm->OutStreamer->EmitValue(Sub, sizeof(uint32_t));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user