Browse Source

* don't reorder LOC_REFERENCE parameters on the Z80 also

git-svn-id: branches/z80@45122 -
nickysn 5 years ago
parent
commit
5be4ce281f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/ncal.pas

+ 2 - 2
compiler/ncal.pas

@@ -4144,8 +4144,8 @@ implementation
                               That means the for pushes the para with the
                               That means the for pushes the para with the
                               highest offset (see para3) needs to be pushed first
                               highest offset (see para3) needs to be pushed first
                             }
                             }
-{$if defined(i386) or defined(i8086) or defined(m68k)}
-                            { the i386, i8086, m68k and jvm code generators expect all reference }
+{$if defined(i386) or defined(i8086) or defined(m68k) or defined(z80)}
+                            { the i386, i8086, m68k, z80 and jvm code generators expect all reference }
                             { parameters to be in this order so they can use   }
                             { parameters to be in this order so they can use   }
                             { pushes in case of no fixed stack                 }
                             { pushes in case of no fixed stack                 }
                             if (not paramanager.use_fixed_stack and
                             if (not paramanager.use_fixed_stack and