Explorar el Código

* don't write a tab character before an instruction that's a nested operand

git-svn-id: branches/hlcgllvm@28126 -
Jonas Maebe hace 11 años
padre
commit
3511aa4878
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      compiler/llvm/agllvm.pas

+ 2 - 1
compiler/llvm/agllvm.pas

@@ -350,7 +350,8 @@ implementation
         because operands may contain other tai that will also write things out
         because operands may contain other tai that will also write things out
         (and their output must come after everything that was processed in this
         (and their output must come after everything that was processed in this
          instruction, such as its opcode or previous operands) }
          instruction, such as its opcode or previous operands) }
-      owner.AsmWrite(#9);
+      if owner.fdecllevel=0 then
+        owner.AsmWrite(#9);
       sep:=' ';
       sep:=' ';
       done:=false;
       done:=false;
       opstart:=0;
       opstart:=0;