mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
reduce indentation with early exit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81699 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user