Reformat.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239691 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2015-06-14 00:23:33 +00:00
parent 3a36996b73
commit 82b72bed60

View File

@ -899,11 +899,9 @@ void AsmPrinter::EmitFunctionBody() {
if (MAI->hasDotTypeDotSizeDirective()) { if (MAI->hasDotTypeDotSizeDirective()) {
// We can get the size as difference between the function label and the // We can get the size as difference between the function label and the
// temp label. // temp label.
const MCExpr *SizeExp = const MCExpr *SizeExp = MCBinaryExpr::createSub(
MCBinaryExpr::createSub(MCSymbolRefExpr::create(CurrentFnEnd, OutContext), MCSymbolRefExpr::create(CurrentFnEnd, OutContext),
MCSymbolRefExpr::create(CurrentFnSymForSize, MCSymbolRefExpr::create(CurrentFnSymForSize, OutContext), OutContext);
OutContext),
OutContext);
OutStreamer->emitELFSize(cast<MCSymbolELF>(CurrentFnSym), SizeExp); OutStreamer->emitELFSize(cast<MCSymbolELF>(CurrentFnSym), SizeExp);
} }