1
0
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:
Chris Lattner 2009-09-13 19:10:08 +00:00
parent 1c625a028e
commit 57dbcc4388

View File

@ -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.