mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-02 09:33:59 +00:00
Improve whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111384 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
86b98b5874
commit
3d7ff08c82
@ -1250,6 +1250,7 @@ static const MCExpr *LowerConstant(const Constant *CV, AsmPrinter &AP) {
|
|||||||
|
|
||||||
if (const GlobalValue *GV = dyn_cast<GlobalValue>(CV))
|
if (const GlobalValue *GV = dyn_cast<GlobalValue>(CV))
|
||||||
return MCSymbolRefExpr::Create(AP.Mang->getSymbol(GV), Ctx);
|
return MCSymbolRefExpr::Create(AP.Mang->getSymbol(GV), Ctx);
|
||||||
|
|
||||||
if (const BlockAddress *BA = dyn_cast<BlockAddress>(CV))
|
if (const BlockAddress *BA = dyn_cast<BlockAddress>(CV))
|
||||||
return MCSymbolRefExpr::Create(AP.GetBlockAddressSymbol(BA), Ctx);
|
return MCSymbolRefExpr::Create(AP.GetBlockAddressSymbol(BA), Ctx);
|
||||||
|
|
||||||
@ -1543,7 +1544,7 @@ static void EmitGlobalConstantImpl(const Constant *CV, unsigned AddrSpace,
|
|||||||
case 8:
|
case 8:
|
||||||
if (AP.isVerbose())
|
if (AP.isVerbose())
|
||||||
AP.OutStreamer.GetCommentOS() << format("0x%llx\n", CI->getZExtValue());
|
AP.OutStreamer.GetCommentOS() << format("0x%llx\n", CI->getZExtValue());
|
||||||
AP.OutStreamer.EmitIntValue(CI->getZExtValue(), Size, AddrSpace);
|
AP.OutStreamer.EmitIntValue(CI->getZExtValue(), Size, AddrSpace);
|
||||||
return;
|
return;
|
||||||
default:
|
default:
|
||||||
EmitGlobalConstantLargeInt(CI, AddrSpace, AP);
|
EmitGlobalConstantLargeInt(CI, AddrSpace, AP);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user