summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-04-26 19:49:17 +0000
committernickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-04-26 19:49:17 +0000
commit0e1afc3bfb80c73a9ef6a1ccb2443507f3af1ba7 (patch)
tree26c5a3c4370780189c9d7c9cd0c4a9b76569e8ec
parentb671482efe2d43621cf7b29f611257e22098eee9 (diff)
downloadfpc-0e1afc3bfb80c73a9ef6a1ccb2443507f3af1ba7.tar.gz
* don't reorder LOC_REFERENCE parameters on the Z80 also
git-svn-id: https://svn.freepascal.org/svn/fpc/branches/z80@45122 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r--compiler/ncal.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/ncal.pas b/compiler/ncal.pas
index f1464801f1..2125f588d3 100644
--- a/compiler/ncal.pas
+++ b/compiler/ncal.pas
@@ -4144,8 +4144,8 @@ implementation
That means the for pushes the para with the
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 }
{ pushes in case of no fixed stack }
if (not paramanager.use_fixed_stack and