mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 11:17:31 +00:00
Add return statements to make it clear that all of these are mutually exclusive conditions.
else if would have worked just as well, but this keeps the original readability a bit more clear. llvm-svn: 334988
This commit is contained in:
parent
714665d417
commit
fb21b6d9b3
@ -689,6 +689,7 @@ void X86AsmPrinter::EmitEndOfAsmFile(Module &M) {
|
||||
// linker can safely perform dead code stripping. Since LLVM never
|
||||
// generates code that does this, it is always safe to set.
|
||||
OutStreamer->EmitAssemblerFlag(MCAF_SubsectionsViaSymbols);
|
||||
return;
|
||||
}
|
||||
|
||||
if (TT.isKnownWindowsMSVCEnvironment() && MMI->usesVAFloatArgument()) {
|
||||
@ -696,15 +697,18 @@ void X86AsmPrinter::EmitEndOfAsmFile(Module &M) {
|
||||
(TT.getArch() == Triple::x86_64) ? "_fltused" : "__fltused";
|
||||
MCSymbol *S = MMI->getContext().getOrCreateSymbol(SymbolName);
|
||||
OutStreamer->EmitSymbolAttribute(S, MCSA_Global);
|
||||
return;
|
||||
}
|
||||
|
||||
if (TT.isOSBinFormatCOFF()) {
|
||||
SM.serializeToStackMapSection();
|
||||
return;
|
||||
}
|
||||
|
||||
if (TT.isOSBinFormatELF()) {
|
||||
SM.serializeToStackMapSection();
|
||||
FM.serializeToFaultMapSection();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user