From c1c8a274bc5c049780fecfa61f6928a01957fce1 Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 20 Apr 2006 15:03:53 +0000 Subject: [PATCH] * fixed compilation on non x86 systems git-svn-id: trunk@3300 - --- compiler/ncgbas.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/ncgbas.pas b/compiler/ncgbas.pas index e7218363ad..da8e88b963 100644 --- a/compiler/ncgbas.pas +++ b/compiler/ncgbas.pas @@ -381,6 +381,7 @@ interface begin if tempinfo^.restype.def.deftype=floatdef then begin +{$ifdef x86} if use_sse(tempinfo^.restype.def) then begin if (tempinfo^.temptype = tt_persistent) then @@ -390,6 +391,7 @@ interface tempinfo^.location.register:=cg.getmmregister(current_asmdata.CurrAsmList,tempinfo^.location.size); end else +{$endif x86} begin if (tempinfo^.temptype = tt_persistent) then location_reset(tempinfo^.location,LOC_CFPUREGISTER,def_cgsize(tempinfo^.restype.def))