mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
Reformat.
llvm-svn: 239691
This commit is contained in:
parent
f94bc02e32
commit
1b0f1c8f9b
@ -899,11 +899,9 @@ void AsmPrinter::EmitFunctionBody() {
|
||||
if (MAI->hasDotTypeDotSizeDirective()) {
|
||||
// We can get the size as difference between the function label and the
|
||||
// temp label.
|
||||
const MCExpr *SizeExp =
|
||||
MCBinaryExpr::createSub(MCSymbolRefExpr::create(CurrentFnEnd, OutContext),
|
||||
MCSymbolRefExpr::create(CurrentFnSymForSize,
|
||||
OutContext),
|
||||
OutContext);
|
||||
const MCExpr *SizeExp = MCBinaryExpr::createSub(
|
||||
MCSymbolRefExpr::create(CurrentFnEnd, OutContext),
|
||||
MCSymbolRefExpr::create(CurrentFnSymForSize, OutContext), OutContext);
|
||||
OutStreamer->emitELFSize(cast<MCSymbolELF>(CurrentFnSym), SizeExp);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user