mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-15 07:59:57 +00:00
Reformat.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239691 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3a36996b73
commit
82b72bed60
@ -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