From a29eab36c7c6d5c71df8b4ccdca8872124f37eb4 Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 21 Nov 2004 18:13:31 +0000 Subject: [PATCH] * fixed funcretloc for sparc --- compiler/ncgcal.pas | 10 ++++++---- compiler/ncgutil.pas | 8 ++++++-- compiler/sparc/cpupara.pas | 6 +++++- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/compiler/ncgcal.pas b/compiler/ncgcal.pas index d529cdc4ba..fd4af09c4d 100644 --- a/compiler/ncgcal.pas +++ b/compiler/ncgcal.pas @@ -493,7 +493,6 @@ implementation retloc : tlocation; hregister : tregister; tempnode : tnode; - resultparaloc : pcgparalocation; begin cgsize:=procdefinition.funcretloc[callerside].size; @@ -557,8 +556,8 @@ implementation {$ifdef x86} tcgx86(cg).inc_fpu_stack; {$else x86} - if getsupreg(resultparaloc^.register)