mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 20:43:44 +02:00
reduce indentation with early exit.
llvm-svn: 81699
This commit is contained in:
parent
1c625a028e
commit
57dbcc4388
@ -575,7 +575,8 @@ bool X86IntelAsmPrinter::doFinalization(Module &M) {
|
||||
|
||||
void X86IntelAsmPrinter::EmitString(const ConstantArray *CVA) const {
|
||||
unsigned NumElts = CVA->getNumOperands();
|
||||
if (NumElts) {
|
||||
if (NumElts == 0) return;
|
||||
|
||||
// ML does not have escape sequences except '' for '. It also has a maximum
|
||||
// string length of 255.
|
||||
unsigned len = 0;
|
||||
@ -630,7 +631,6 @@ void X86IntelAsmPrinter::EmitString(const ConstantArray *CVA) const {
|
||||
O << "'";
|
||||
O << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Include the auto-generated portion of the assembly writer.
|
||||
|
Loading…
Reference in New Issue
Block a user