From 2db54da2b35922e6d52abf6f6e47952a2b912426 Mon Sep 17 00:00:00 2001 From: svenbarth Date: Thu, 18 Oct 2012 20:11:56 +0000 Subject: [PATCH] m68k also uses a non fixed stack with an equivalent to PUSH/POP so don't reorder parameters if the required stack offset tells otherwise. git-svn-id: trunk@22742 - --- compiler/ncal.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/ncal.pas b/compiler/ncal.pas index 6a437e6963..35d3af823d 100644 --- a/compiler/ncal.pas +++ b/compiler/ncal.pas @@ -3293,8 +3293,8 @@ implementation That means the for pushes the para with the highest offset (see para3) needs to be pushed first } -{$if defined(i386)} - { the i386 and jvm code generators expect all reference } +{$if defined(i386) or defined(m68k)} + { the i386, m68k 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