Explorar o código

* don't write newlines after nested taillvm instructions (since they're
embedded in the middle of another instruction)

git-svn-id: trunk@30779 -

Jonas Maebe %!s(int64=10) %!d(string=hai) anos
pai
achega
d546e74d1c
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      compiler/llvm/agllvm.pas

+ 3 - 2
compiler/llvm/agllvm.pas

@@ -453,8 +453,9 @@ implementation
       if op=la_alloca then
         owner.AsmWrite(getreferencealignstring(taillvm(hp).oper[0]^.ref^));
       if nested then
-        owner.AsmWrite(')');
-      owner.AsmLn;
+        owner.AsmWrite(')')
+      else
+        owner.AsmLn;
     end;
 
 {****************************************************************************}