From 2e126bb7230d88b076ff1ec620f1e3effd2a2a78 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sat, 14 Mar 2015 18:35:50 +0000 Subject: [PATCH] - removed darwin/i386 special case code from i8086 code generator git-svn-id: trunk@30204 - --- compiler/i8086/cpupara.pas | 9 --------- 1 file changed, 9 deletions(-) diff --git a/compiler/i8086/cpupara.pas b/compiler/i8086/cpupara.pas index 3e01ff1969..cd5c94ec20 100644 --- a/compiler/i8086/cpupara.pas +++ b/compiler/i8086/cpupara.pas @@ -286,15 +286,6 @@ unit cpupara; usedef:=p.returndef else usedef:=forcetempdef; - { on darwin/i386, if a record has only one field and that field is a - single or double, it has to be returned like a single/double } - if (target_info.system in [system_i386_darwin,system_i386_iphonesim]) and - ((usedef.typ=recorddef) or - is_object(usedef)) and - tabstractrecordsymtable(tabstractrecorddef(usedef).symtable).has_single_field(sym) and - (sym.vardef.typ=floatdef) and - (tfloatdef(sym.vardef).floattype in [s32real,s64real]) then - usedef:=sym.vardef; handled:=set_common_funcretloc_info(p,usedef,retcgsize,result); { normally forcetempdef is passed straight through to